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 with PaymentAction set to Authorization.
  • You cannot set the PaymentAction field to Sale in a SetExpressCheckout request and then change the value to Authorization or Order in the DoExpressCheckoutPayment 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 the DoExpressCheckoutPayment API call that you used in the initial SetExpressCheckout 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 SetExpressCheckout
    2$paymentDetails->PAYMENTACTION = 'SALE';
    3
    4// Match payment action in DoExpressCheckoutPayment
    5$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:

    If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more