The second part of the journey supposes the further payment processing in your OMS.
Success URL
, call Retrieve Request using the payment_id
received at the previous step. In the response you need to receive “status”: “AUTHORIZED”
to proceed with the order. In case of receiving any other status, an investigation is required.
Other Redirection URLs have the statuses “REJECTED”
for Failure URL
and “EXPIRED”
for Cancel URL
accordingly. If none of these events happen, the payment status also changes to “EXPIRED”
after some timeout (25 minutes since creation).
Webhooks are required for Corner Case support which means payment status change to “AUTHORIZED”
without successful redirection or Webview event. This may happen due to network issues, early Checkout closing (browser page or mobile Webview), or other reasons. Once Tabby receives a downpayment confirmation, Tabby considers the payment successful and marks it as “AUTHORIZED”
. Another way is to set up a Cron Job for retrieving non-completed payment statuses. Here are the usage tips:
Webhooks are sent based on the events regardless of the redirection: even when customer is not redirected to the Success URL, you will still receive a notification from Tabby. Once Webhook with the“authorized”
status is received:If the order was already completed (e.g., after success redirection) or other status is received in the Webhook - no action is required. Do not forget to notify customers about successful order processing.
- check if order is still pending and process it in your OMS;
- make sure to complete the payment by Capturing it.
Customers also receive a payment confirmation from Tabby.
“authorized”
in lower case while Retrieve Request - in upper case: “AUTHORIZED”
.Alternative of the Webhooks is setting up a cron job for calling Retrieve request till the moment you receive statusAuthorized
or one of the terminal statuses -Rejected
orExpired
. Status change can happen after customer’s action or by timeout.
“EXPIRED”
after session expiry timeout + 5 minutes (20 + 5 by default). After that the payment will remain in status “EXPIRED”
, no need to check it further.
The status should be checked every couple of minutes until receiving one of these statuses in the response:
“AUTHORIZED”
, you should process the order in your OMS and capture the payment.“EXPIRED”
or “REJECTED”
, you can cancel or delete the order in your OMS.“AUTHORIZED”
. If you try to capture payment in status “CREATED”
, “EXPIRED”
, “CLOSED”
or “REJECTED”
, you will get a 400 error
.“AUTHORIZED”
. However, in some cases it may be delayed or not happen at all due to tech issues.
Tabby tracks non-Captured payments. If a payment isn’t captured or isn’t canceled within 21 days since authorization, Tabby automatically fully captures it, as in most cases capture is absent due to tech issues. Customers dispute and payment settlements to the merchants are allowed only for Captured payments.
All “AUTHORIZED”
payments can be found in the Merchant Dashboard via filtering by the order status “NEW”
. These payments must be resolved manually or by exporting as a CSV file with all payments. Tabby also notifies merchants if we observe any regular tech issues with the captures as non-Captured orders are considered missed until the status update.
“CLOSED”
?