Clement
Clement

Reputation: 4297

PayPal API: Which transactions can or cannot be retrieved with "GetTransactionDetails"

At the following doc: https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/GetTransactionDetails_API_Operation_SOAP/

It is mentioned: "Note: The details for some kinds of transactions cannot be retrieved with GetTransactionDetails. You cannot obtain details of bank transfer withdrawals, for example."

And indeed, if I use the "TransactionSearch" API and then call "GetTransactionDetails" with each returned TransactionId, some of the calls to "GetTransactionDetails" fail.

But I couldn't find any specifics about what transactions can or cannot be called with GetTransactionDetails?

Does anyone know that?

Thanks

Upvotes: 1

Views: 1028

Answers (1)

PP_MTS_Chad
PP_MTS_Chad

Reputation: 7319

You are receiving an error because you are passing over "I-30PA9BJX6HCX" for the transaction id. This is not the transaction id. This is the profile id. You would need to pass over the transaction id. I checked the profile's transaction history and I do not see any successful transactions having been processed for this transaction. It looks like you created the profile and suspended it and reactivated it a few times, but it has never billed. The next payment date is set to May 25, 2013. It should bill on that date. If you are wanting to test the GetTransactionDetails API call, you could pass over the transaction id as "3DC84483CN537843X". This is the transaction id for another transaction that was successfully processed on your account. If you are trying to get the details about a profile, you would want to use the GetRecurringPaymentProfileDetails API call, then with that call you could pass over the profile id "I-30PA9BJX6HCX".

Recurring Profile Details.

Date Event By From To Reason/Notes
Apr 30, 2013 Profile Reactivated Merchant
Apr 25, 2013 ProfileSuspended Merchant
Apr 25, 2013 Profile Reactivated Merchant
Apr 25, 2013 ProfileSuspended Merchant
Apr 25, 2013 Profile Reactivated Merchant
Apr 25, 2013 ProfileSuspended Merchant
Apr 25, 2013 Profile Reactivated Merchant
Apr 25, 2013 ProfileSuspended Merchant
Apr 25, 2013 Profile Created Merchant

Upvotes: 1

Related Questions