Payum / PayumBundle

Payum offers everything you need to work with payments. From simplest use cases to very advanced ones.
https://payum.gitbook.io/payum
MIT License
569 stars 142 forks source link

PayPal express_check_out is broken? #515

Open jimiero opened 4 years ago

jimiero commented 4 years ago

Hello,

Has anyone tested paypal express checkout bundle in production? I have tried to run a test, and keep getting this error:

"TIMESTAMP" => "2020-04-28T09:48:24Z"
      "CORRELATIONID" => "96ca9cf247878"
      "ACK" => "Failure"
      "VERSION" => "65.1"
      "BUILD" => "54492453"
      "L_ERRORCODE0" => "10002"
      "L_SHORTMESSAGE0" => "Security error"
      "L_LONGMESSAGE0" => "Security header is not valid"
      "L_SEVERITYCODE0" => "Error"

I checked and API credentials and signature are provided correctly 100%, i have no idea what could it be.

Can someone assist?

ekyna commented 4 years ago

Hi @jimiero

I've got websites using Payum PayPal EC in production : it works. But trying to setup a new website, i encountered the same error : "Security header is not valid".

I don't know yet if it is the solution, but it seems that we need to ask PayPal to enable "Reference transactions" to make the (old) Express Checout gateway work.

The PayPal Express Checkout integration uses the "Reference Transactions" mechanism of your PayPal account. Approval from PayPal is required to enable reference transactions for your live account.

Source: https://help.zipify.com/en/articles/2351069-oneclickupsell-connecting-paypal-express-checkout

Hope it will help.