10419

API

Last updated: Mar 13th, 12:44pm

Returns from the DoExpressCheckoutPayment API.

Cause

  • Missing Payer ID parameter: The Payer ID parameter is not included in the DoExpressCheckoutPayment API call.
  • Incorrect API call sequence: Calling the APIs in the incorrect sequence prevents the system from retrieving or passing the Payer ID correctly.
  • Session or data handling issues: Issues with session management or data handling prevent the system from storing or passing the Payer ID correctly between API calls.

Impact

The payment is declined, and the payment is not processed. This can lead to delays in completing the purchase.

Resolution

  • Ensure correct API call sequence: Make sure that you are following the correct sequence of API calls:
    1. SetExpressCheckout
    2. GetExpressCheckoutDetails
    3. DoExpressCheckoutPayment
  • Retrieve Payer ID: Ensure that you are correctly retrieving the Payer ID from the GetExpressCheckoutDetails API call. The Payer ID is returned in the GetExpressCheckoutDetails response.
  • Include Payer ID in DoExpressCheckoutPayment call: Ensure that the Payer ID is included as a parameter in the DoExpressCheckoutPayment API call. The parameter name is PAYERID.
  • Check data handling: Verify that the Payer ID is correctly stored and passed between the API calls. Ensure that there are no issues with session management or data handling that could cause the Payer ID to be lost or not passed correctly.

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