Retrieving Profile ID using Express Checkout API and TransactionID

diono
Contributor
Contributor

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

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.