Help Article

Ask our Business Community

Get started and join the conversation to use PayPal for business in the Headstart Community.

Why did I get API error code 10423?

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

Cause
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."

Solution
PayPal doesn't allow this switch from "Sale" to "Authorization" in a single checkout session. PayPal recommends using the same PaymentAction for the DoExpressCheckout API call as is used in the initial SetExpressCheckout API call to avoid this issue.

See Also
How Create One-Time Payments Using Express Checkout
We’re sorry, the page you’re looking for is no longer available. Please try your search again in our Help Center if you have a question or want to contact us.