Both success / failure outcomes result in the customer being redirected
redirect_url provided when creating the Checkout session.
If a transaction was completed successfully, a
transaction_id will be
appended to the URL as a
query string parameter.
Additionally, it's best practice for Merchants to have Webhook URL configured on their Account, such that they are notified as soon as a Transaction has been created.
In case that something went wrong with the payment flow, an
parameter will be appended to the URL. The value of the error is an code
identifying the reason for the failure
|cancelled||Customer cancelled the checkout payment|
|authorization||Customer failed to authorize the payment|
|failed||The transaction has been rejected by us, or an error has occurred during transaction processing|
|capture||The transaction capture operation failed during auto-capture|