Transaction Timeouts
In case a the payment request /api/v1/payment/
times out, the default timeout response is:
{
"code": "9002",
"technical_detail": "Connection with provider timed out",
"message": "Could not reach the provider",
"request_id": "def91166-c0a6-45f9-bfce-30cc3b7043fc"
}
This means that the transaction request timed out with the service provider, which eventually indicates an uncertain state of the transactions.The transaction then stays on the state PENDING
.
Client Action
The recommended action from the client side is to send a transaction status inquiry request (defined here) periodically (recommended to be once every 30 seconds) to inquiry about this transaction's state, this will try to re-fetch the transaction state from the provider's side in order to reach a final status for the transaction SUCCESS
/FAIL
. After 3 transaction status inquiries (if the transaction is still PENDING
), the transaction automatically moves to AMBGIUOUS
state, which should be showed to the end user as failure, but will be checked afterwards with the specified teams.