Paypal Array returning success message but payment not getting process i am using laravel and express-checkout

163 views Asked by At

PayPal retuning me the success array but the payment not getting ** processed** please help me.

enter image description here

1

There are 1 answers

2
Preston PHX On

Why are you using the classic express checkout API? That is almost 20 years old. You should be using the v2/checkout/orders API, with the Checkout-PHP-SDK or similar. See the information and links for a server integration within Set up standard payments.

The problem with your "payment not getting processed" is that no payment has been executed or captured. After payer approval, it is required to execute a DoExpressCheckoutPayment API call (classic API) -- or similarly with the current API, an orders capture API call.