Domov

Why did I get API error code 10423?

For meanings and solutions of this and other API errors, check the table API Error Codes.

Issue
PayPal returned API error code 10423 - This transaction cannot be completed with PaymentAction of Authorization.

Causes
The following errors can produce error code 10423:
  • You set PaymentAction to "Sale" with SetExpressCheckout at the first API call. If you receive this error at the DoExpressCheckout API call, you can set PaymentAction to "Authorization."
  • Your API call failed because you didn’t grant a third party permission to make API calls on your behalf.

Solutions
Do one of the following:
  • Because PayPal doesn't allow this switch from "Sale" to "Authorization" in a single checkout session, use the same PaymentAction for the DoExpressCheckout API call that you used in the initial SetExpressCheckout API call.
  • Grant the third party permission required to complete the API call. If you’ve already granted permission to this third party, make sure that you used their correct username and selected the required permissions.

See also:
How to Create One-Time Payments Using Express Checkout
Je bil ta članek koristen?

Več načinov, kako lahko pomagamo

Kako nam gre?
Izpolnite anketo

Če sprejmete piškotke, jih bomo uporabili za izboljšanje in prilagajanje vaše izkušnje ter omogočili našim partnerjem, da vam prikažejo prilagojene PayPal oglase, ko obiščete druga spletna mesta. Upravljajte s piškotki in izvedite več