Architecture diagram
Introduction
The transaction flow describes the technical steps required to make a payment using our API, regardless of the integration mechanism used. Below is a diagram illustrating the transaction flow:
Diagram
Diagram details:
Request Generate Token: Merchant requests a unique token to identify the transaction.
Sending Token: The payment gateway sends the token to the merchant for further use.
Query to load the Payment Button JavaScript: The merchant gets the JavaScript needed to load the payment button in your interface.
Request Form Upload: The merchant requests the payment gateway to upload the payment form.
Form display: The payment form is displayed to the user to collect the payment data.
Sending transaction request: The merchant sends the transaction details to the payment gateway for processing.
Sending payment result: The payment gateway sends the merchant the result of the payment (success or failure).
- Sending payment result (Embedded and Popup): The payment gateway sends the payment result to the merchant within the page or in a popup window.
- Sending payment result (Redirect): The payment gateway redirects the user to a specific page of the merchant to display the payment result.
Final payment notification: In the development environment, the payment gateway can send a notification to the merchant indicating the end of the payment process.
Integrations
For the integration stage, you can use different modes depending on the level of customization you want, there are 3 types of integration modes: