Disable sandbox mode for Paypal Express

I use Omnipay with CodeIgniter to allow customers to check Paypal. I used the test mode during development on the website, but now the website is done and ready to run.

But I don’t know how to configure Omnipay to use live payments, not Sandbox mode. I tried to set testMode to false. β†’ Invalid security header.

I tried to create Api REST credentials -> You cannot make this air call.

I know this is probably not the right way, but at least I explored the options.

So, please, what is the most suitable configuration for live payments on PaypalExpress using Omnipay?

Thanks in advance.

0
source share
3 answers

You need to set testModeto falseor just completely exclude it (false by default).

Invalid Security Header

This means that you are trying to use test credentials with a working environment (as it was like you).

You do not want to create REST credentials, you need to create API credentials for the standard PayPal NVP API.

PayPal Express API, . PayPal. API, () PayPal "" > " " > " API" > "/ API" > " API".

+1

, , paypal, ( .
, , omnipay paypal api? .
, "" . paypal api - .

0

To try your code in a test environment Sandbox PayPal, use the following credentials:

user name of the API : sdk-three_api1.sdk.com
password the API : QFZCWN5HZM8VBG7Q
signature of the API : A-IzJhZZjhg29XQ2qnhapuwxIDzyAZQ92FRP5dqBzVesOkzbdUONzmOU

PS: Do not forget to set testModein true

Source: Overview API-interface PayPal NVP

0
source

Source: https://habr.com/ru/post/1682525/


All Articles