How can I solve the "request already processed or in progress" error?

When you see get a status 422 response with the message "Request already in process" like the following example below, it means the request to /payments/details is submitted more than once.

This can happen when a shopper fails the authentication step (the challenge presented by their issuing back) and then presses the back button after being redirected back to your page where they see the payment failed. If they press back, and re-send the challenge form, you (the merchant) may send the exact same paymentData in the /payment/details call leading to mentioned error message.

{
    "status": 422,
    "errorCode": "704",
    "message": "request already processed or in progress",
    "errorType": "validation"
}
Was this article helpful?
0 out of 1 found this helpful