API Key: 1CkFKcgmd6iE7PUBOzJjHW75iPp8ZiD64k5vz_irNOq-ruMGuChSTwAvp
Create an APP in the PayPal developer area https://developer.paypal.com/docs/api/overview/ and activate Transaction Search
PayPal API documentation https://developer.paypal.com/docs/api/reference/api-requests/
Begin with the init command to obtain access Token:
PayPal.init(client_id,secret);
PayPal.
init(client_id,secret) you need to do this before use any PayPal function
getParentPayment(ParentPaymentID) Give you all the information about the payment (payer, etc)