10423
API
Last updated: Mar 3rd, 9:54am
Returns from the DoExpressCheckoutPayment
API.
Cause
- The
DoExpressCheckoutPayment
API returns this error if the transaction cannot be completed withPaymentAction
set toAuthorization
. - You cannot set the
PaymentAction
field toSale
in aSetExpressCheckout
request and then change the value toAuthorization
orOrder
in theDoExpressCheckoutPayment
request.
Impact
The payment process is halted, preventing the customer from finalizing their purchase. This can lead to a poor customer experience and potentially lost sales if the issue is not resolved promptly.
Resolution
- Use the same
PaymentAction
for theDoExpressCheckoutPayment
API call that you used in the initialSetExpressCheckout
API call. - If you are using a third party, grant the third party permissions to complete the API call on your behalf.
- Ensure that your PayPal business account is verified with a confirmed email address.
- Review your code to ensure the
PaymentAction
argument is not changed at any point.
1// Set payment action in SetExpressCheckout2$paymentDetails->PAYMENTACTION = 'SALE';34// Match payment action in DoExpressCheckoutPayment5$DoECRequestDetails->PAYMENTACTION = 'SALE';
Upgrade
The NVP/SOAP API integration method is deprecated. You can find more information about our latest integrations from the following resources:
Additional resources
You can reach out for support at paypal-techsupport.com.