Payment Failure Cascading
Re-attempt failed customer transactions to save checkouts
Merchants with more than one payment gateway may wish to support cascading - ie. the immediate re-attempt of a failed transaction at checkout onto a secondary gateway.
Upon a failed payment transaction, a
card_tokenis returned in the API response:
"payment_details": "Unable to process the purchase transaction.",
Upon a failed Bankcard transaction, to create a secondary payment attempt (the "cascade" attempt after an initial failure), the transaction request should switch to use
payment_method: "card_token"and then pass the
card_tokenfrom the initial response.
On the secondary attempt using the card token, you can specify under
payment_gatewayto re-attempt a failed charge on the designated secondary gateway.