statusCode != 0, TweezerComm automatically falls back to this mechanism, using retries and verification steps to complete or cancel the transaction and prevent inconsistencies.
How it works
The flow chart describes the flow of the mechanism.
- If the system receives a response, it checks the
StatusCode. If the value equals0, it finishes the completion process; otherwise, it triggers the retry mechanism. - If the system doesn’t receive a response, it retrieves transaction details using the
getTransactionByVuid()method.- To check whether the transaction is complete, the system evaluates whether
IsFinalAmount=1andTransactionDeposited=1/2. - If those values don’t match, the system triggers the retry mechanism.
- To check whether the transaction is complete, the system evaluates whether
See also
Payment flows
See the payment flows this resilience mechanism protects.
GetTransactionByVuid
Retrieve transaction details using the vendor-unique identifier (vuid).