2. Process flow diagram
The customer places an order and selects to pay with debit card.
Online Store displays the checkout form to collect the debit card details.
Customer's debit card details are collected at the front-end using PagBrasil.JS, and the data is submitted directly from the customer browser to PagBrasil servers.
A modal window is opened over the checkout page for the Débito Flash™ authentication.
Customer authenticates the transaction as requested by their bank, that may either send a push notification to the bank's app, or a code by SMS for the customer to enter it in the modal window.
PagBrasil notifies the Online Store through the PagBrasil.JS callback function if the transaction has been successfully authenticated.
Online Store captures the authenticated transaction (i.e. charges the card).
PagBrasil notifies the Online Store if the payment has been authorized or declined.
Online Store processes the order and delivers the product purchased.
CONFIDENTIAL