Getting error 400, when trying to execute payment.

Katzen48
New Community Member

Hi,

I'm currently trying to integrate the PayPal Payments API into one of my processes.

At the moment I'm only working in the sandbox environment.

I test this on localhost, so there is no real testing domain.

 

I'm using the PayPal-PHP-SDK to create the payment and redirect the user to the approval page.
After that, PayPal returns the user to my return url, where I try to execute the Payment.
The Problem is, that I get an error 400 (UNAUTHORIZED_PAYMENT), when just trying to get the Payment from the API. I don't even try to execute it.

Here is the DebugID: b204748d5081

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.