How to simulate and debug PAYER_ACTION_REQUIRED?

Viewed 26

we are integrating the Paypal-API for Paypal-Checkout and came about the possebility that Paypal might return a PAYER_ACTION_REQUIRED-error (see https://developer.paypal.com/docs/api/orders/v2/#error-PAYER_ACTION_REQUIRED).

We now want to see if our understanding and implemented handling of this error is correct, but we couldn't find a way to provoke this error intentionally in the sandbox to debug our code. How is it done?

We tried to use a card-number from this page: https://developer.paypal.com/tools/sandbox/card-testing/#rejection-triggers and tried to use a "rejection trigger", but either we get "the name contains invalid characters"- or "the credit-card data is not valid"-messages, but the Paypal-Window is never leaved so none of these errors hits our code.

Any ideas?

1 Answers

See the guide for integrating 3D Secure, which is what returns this status. It's particularly necessary for processing cards from Europe with an Advanced Credit and Debit Cards integration.

If you are using the Standard integration, you do not need to be concerned about 3DS as it's taken care of by PayPal.

Related