Automatic Retries

Automatic Retries

Quick Start

When performing a payment transaction, certain "transaction denied" responses of the acquirers indicate that a retry is possible without compromising the merchant score, thus giving a new chance to convert the transaction to successful.

The transaction retry in Carat Portal is an automatic procedure that identifies the acquirer's response suitable for retries and act according to a flow that has been set for your store. If at the end of the retry flow it is not possible to convert to a successful transaction, the transaction will remain with the last acquirer's response.

The retry will be performed regardless of the day or the moment of the day. Therefore, there are scenario where the original transactions was denied on a particular date, but the successful retry transaction was performed at a later date.

Important 1:

The transaction retry feature is only possible in credit card operations with the routings listed below:

  • All via SiTef
  • Cielo e-Commerce
  • e-Rede
  • e.Rede REST
  • Getnet WS
  • GlobalPayment WS

Important 2:

There is no transaction retry on Split Payments via HTML interface.

Attention:

After configure automatic transaction retries, it is recommended to the merchant application avoid make manual transaction retries in a denied one (i.e. a new call re-using the NIT of a denied transaction), because it may cause unexpected behaviour.

Retry Service

The retry also works for recurrent payments. Learn more about recurrent payments scheduling.

Attention: the recurrent payments scheduling mentions the term "reprocess". Don't confuse this term with retry. Those two are distinct processes on Carat Portal and don't have relation/interference with each other.

Execution of scheduled payments

The scheduled payments are executed as normal payments. So if your store's retry mechanism is enabled and the transaction context fits in the retry scenarios, the scheduled payment will start the retry flow.

Merchant Webpage - Schedule Report

In the merchant webpage, it is possible to consult the recurrent schedules. Learn more about the Schedule Report.

During the retry flow, the recurrent schedule status is "Error". If the retry mechanism succeeds in confirming the transaction, the schedule status will become "Active". So it is possible that the recurrent schedule temporarily stays with status "Error" while the retry mechanism doesn't finish the flow.

Flow

The online and offline retries flows differ mainly on when the execution of retries are performed to the acquirers.

Online Retry Flow

In the online retry flow, the retry is performed during the transactional flow of paymnent and up to two retries are performed.

This retry flow allows you to set up retries that use more then one acquirer. If the retry is performed on more than one acquirer, it is necessary that your store has a contract with the desired acquirerers, and it must be registered accordingly in Carat Portal.

There are differences between the REST and HTML interfaces that will be detailed in the following sections.

REST Interface

Flux description:

  1. The need or possibility of a retry will be evaluated after each response.
  2. At the end of the process, the Merchant will receive the final response and will communicate it to the Buyer.

HTML Interface

Flux description:

  1. First, the Buyer will request a checkout to the Merchant.
  2. The Merchant will initiate a transaction with Carat Portal and will receive an URL to which the Buyer must be redirected.
  3. The Buyer will interact directly with Carat Portal and will inform the payment data.
  4. With the payment data, Carat Portal will start its payment tries. Every retry response returned, Carat Portal will evaluate if another retry is needed or possible.
  5. At the end of this flux, Carat Portal will send a status notification to the Merchant and the Buyer will receive the final response.

Offline Retry Flow

In the offline retry flow, the retries are scheduled to run at a later time, and the payment response is "pay in process" with status RET.

If the offline retry is successful, the transaction changes status from RET to CON.

The retries are scheduled according to the configuration defined per routing:

  • Maximum number of retries;
  • Interval between retries (in days).

By default, 3 (three) retries will be performed with a one-day break between them.

To enable this functionality and change the default configuration, contact the Carat Portal production team.

Unlike the online retry flow, the offline retry flow can't perform the retry with more than one acquirer.

In this retry flow, the Merchant must estabilish agreements with the Acquirer to enable payments without the card security code.

There are differences between the REST and HTML flows that will be detailed in the following sections.

REST Interface

Flux description:

  1. On the first try, Carat Portal will evaluate if an offline retry can be performed. If it does, Carat Portal will send a response with the transaction status RET to the Merchant and schedule the retry.
  2. The retry is scheduled according to the configuration defined for the type of payment, on the day it was created. If the offline trial was created in one day and then the interval and / or quantity setting was changed, the old configuration will be kept.
  3. The retries are attempted daily by Carat Portal.
  4. At each retry response, Carat Portal will send a status notification to the Merchant and will evaluate if another retry is needed or possible. If the end of retries is detected, the transaction status RET is changed accordingly the last retry response.
  5. At the end of each retry response, Carat Portal send a status notification to the Merchant.

HTML Interface

Flux description:

  1. First, the Buyer will request a checkout to the Merchant.
  2. After that, the Merchant will initiate a transaction with Carat Portal and will receive an URL to which the Buyer must be redirected.
  3. The Buyer will interact directly with Carat Portal and will inform all his/her payment data.
  4. With the payment data, Carat Portal will evaluate if an offline retry need to be scheduled. If it does, Carat Portal will send a processed payment response to the Buyer and will send a status notification RET to the Merchant.
  5. The retry is scheduled according to the configuration defined for the type of payment, on the day it was created. If the offline trial was created in one day and then the interval and / or quantity setting was changed, the old configuration will be kept.
  6. The retries are attempted daily by Carat Portal.
  7. At each retry response, Carat Portal will send a status notification to the Merchant and will evaluate if another retry is needed or possible. If the end of retries is detected, the transaction status RET is changed accordingly the last retry response.
  8. At the end of each retry response, Carat Portal send a status notification to the Merchant.

Important:

The customer can combine the use of Online and Offline retries. In this scenario, the offline retries flow will start if all the online retries are denied.

Allowed Return Codes

Reversible return codes, which may have retries are:

AutorizadoraCódigo retorno
CieloDS
CieloEK
CieloR1
CieloS0
CieloTM
CieloV7
CieloAA
Cielo005
Cielo006
Cielo019
Cielo025
Cielo028
Cielo05
Cielo057
Cielo060
Cielo061
Cielo065
Cielo076
Cielo089
Cielo091
Cielo092
Cielo096
Cielo098
Cielo099
Cielo110
Cielo19
Cielo213
Cielo25
Cielo28
Cielo57
Cielo60
Cielo61
Cielo65
Cielo89
Cielo91
Cielo92
Cielo96
Cielo98
CieloAE
CieloAV
CieloBO
CieloDF
Cielo e-Commerce05
Cielo e-CommerceR1
Cielo e-Commerce19
Cielo e-Commerce25
Cielo e-Commerce28
Cielo e-Commerce57
Cielo e-Commerce60
Cielo e-Commerce61
Cielo e-Commerce65
Cielo e-Commerce89
Cielo e-Commerce90
Cielo e-Commerce91
Cielo e-Commerce92
Cielo e-Commerce96
Cielo e-Commerce98
Cielo e-Commerce99
Cielo e-Commerce999
Cielo e-CommerceAA
Cielo e-CommerceAE
Cielo e-CommerceAF
Cielo e-CommerceAG
Cielo e-CommerceAV
Cielo e-CommerceBD
Cielo e-CommerceBO
Cielo e-CommerceDF
Cielo e-CommerceDS
Cielo e-CommerceEK
Cielo e-Commerce15
eRede15
e.Rede REST103
e.Rede REST104
e.Rede REST106
e.Rede REST107
e.Rede REST121
e.Rede REST150
e.Rede REST56
e.Rede REST64
e.Rede REST74
GetNet Lac80
GetNet LacV7
GetNet Lac96
GetNet Lac91
GetNet Lac83
GetNet LacS0
GetNet LacTM
GetNetWS85
GetNetWS86
GetNetWS87
GetNetWS88
GetNetWS94
GetNetWS19
GetNetWSO1
GetNetWSQ0
GetNetWSQ1
GetNetWSQ2
GetNetWS68
GetNetWSO0
Global Payments via WS96
Global Payments via WS68
Global Payments via WS91
Redecard19
RedecardV7
RedecardTM
Redecard91
Redecard96
RedecardS0
Safra099
SafraS0
SafraTM
SafraV7
StoneTM
StoneS0
Stone96
Stone06
StoneV7

Important: the codes not present above are irreversible, that is, they cannot be retained.


Did this page help you?