Retrieving Profile ID using Express Checkout API and TransactionID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have access to a TransactionID of a recurring PayPal Express Checkout payment/subscription and need to get the associated ProfileID. I have tried using GetTransactionDetails(using cURL), but cannot find the ProfileID in the response. I do not want to obtain this value manually on the PayPal website, but automatically using the API.
I have the following code snippet
$info = 'USER=XXXXXXXXXXX'
.'&PWD=hjglglhglhglglhghhjkkk'
.'&SIGNATURE=YYYYYYYYYYYYYYYYYYYYYYYYYYY'
.'&METHOD=GetTransactionDetails'
.'&TRANSACTIONID=' . $transID
.'&VERSION=94';
curl_setopt($curl, CURLOPT_POSTFIELDS, $info);
$result = curl_exec($curl);
print_r($result); exit();
Thank you.
Dion
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.