# 10423 (/api/nvp-soap/troubleshooting/10423)



Returns from the `DoExpressCheckoutPayment` API.

## Cause [#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 [#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 [#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.

```text lineNumbers
// Set payment action in SetExpressCheckout
$paymentDetails->PAYMENTACTION = 'SALE';

// Match payment action in DoExpressCheckoutPayment
$DoECRequestDetails->PAYMENTACTION = 'SALE';
```

## Upgrade [#upgrade]

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

* [REST APIs](/api/rest/)
* [PayPal Checkout](/api/rest/integration/orders-api/api-use-cases/standard/)
* [PayPal Developer homepage](/)

## Additional resources [#additional-resources]

* [Express checkout token](/api/nvp-soap/set-express-checkout-soap/)
* [NVP/SOAP integration](/archive/express-checkout)
* [NVP/SOAP error codes](/api/nvp-soap/errors/)

> **Info:** You can reach out for support at [paypal-techsupport.com](http://www.paypal-techsupport.com).
