10409

API

Last updated: Apr 22nd, 11:49am

Returns from the following NVP/SOAP API calls:

  • CreateBillingAgreement
  • DoExpressCheckoutPayment
  • GetBillingAgreementCustomerDetails
  • GetExpressCheckoutDetails
  • SetExpressCheckout

Cause

  • The Express Checkout token was issued for another merchant account: The token provided in the API call does not belong to the merchant account making the request.
  • Invalid token: The token provided in the API call is not valid. This could be due to a typo, an expired token, or a token that does not exist.
  • Token already used: The token has already been used for a previous transaction. PayPal tokens are single-use.
  • Incorrect transaction ID: The transaction ID does not match any existing transactions or is incorrect.

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

  • Check merchant account: Ensure that the token provided in the API call was issued for the merchant account making the request. Verify that you are using the correct merchant credentials.
  • Validate token: Ensure that the token provided in your API request is valid and not expired. Double-check for any typos or errors in the token.
    1$DoExpressCheckoutPayment = [
    2 'TOKEN' => $token,
    3 'PAYERID' => $payerId,
    4 'PAYMENTREQUEST_0_AMT' => '100.00',
    5 'PAYMENTREQUEST_0_CURRENCYCODE' => 'USD'
    6];
    • Check token usage: Verify that the token has not already been used for a previous transaction. PayPal tokens are single-use.
    • Verify transaction ID: Ensure that the transaction ID provided in your API request matches an existing transaction and is correct. Double-check for any typos or errors in the transaction ID.
    • Review your code: Review your code to ensure that the token and transaction ID are not being changed or modified at any point before the API call.

    Upgrade

    The NVP/SOAP API integration method is deprecated. You can find more information about our latest integrations from the following resources:

    Additional 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