I'd like to use this endpoint to display the calculated fees on my site before taking the user to the paypal site; however, when I query the endpoint with a valid payKey, I receive an internal error.
To generate the payKey, I'm POSTing to svcs.sandbox.paypal.com/AdapativePayments/Pay with the following request body: { "actionType":"PAY", "currencyCode":"USD", "feesPayer":"SENDER", "requestEnvelope": { "errorLanguage": "en_US" }, "cancelUrl":"test.com/cancel", "returnUrl":"test.com/return", "receiverList": { "receiver": [ { "email": "[email protected]", "amount": "80.00" } ] } }
Any ideas as to what's going on?
Note: I had to edit out the valid URLs because I don't have enough reputation.