Hello, I am a newbie in the use of the PayPal API using (NVP/SOAP C#).
My application uses the API to read payment data and to put details into my company's database (console application in C#.)
Q) Today, I am able to obtain a list of transactions using the PayPalAPIInterfaceClient object member TransactionSearch. But I would like to obtain the transaction details of each transaction:
var payloadDetailReq = new ServicePaypal.GetTransactionDetailsReq();
payloadDetailReq.GetTransactionDetailsRequest = new ServicePaypal.GetTransactionDetailsRequestType(); payloadDetailReq.GetTransactionDetailsRequest.TransactionID = trans.TransactionID;
var transactionDetailsRespone = paypalService.GetTransactionDetails(ref securityHeader, payloadDetailReq);
Result: transactionDetailsResponse error: “Incorrect API credentials” ? (Authentication/Authorisation Failed.)
How can I provide the right credentials in order for my C# application to obtain the details of the transactions?
Remark: There is an article https://www.paypal.com/us/smarthelp/article/why-did-i-get-api-error-code-10002-ts1030 with a failing link explaining a possible solution to the issue. In the same article there is a reference "Follow this procedure", if I activate this remark I end up in the same page.
Remark: I used an operational API username, API password and Signature to get the list of transactions, what are the additional requirements to get the transaction details?
Any help is very much appreciated.
John.
... View more