­­2. Process flow diagram

  1. The customer places an order and selects to pay with debit card.

  2. Online Store displays the checkout form to collect the debit card details.

  3. 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.

  4. A modal window is opened over the checkout page for the Débito Flash authentication.

  5. 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.

  6. PagBrasil notifies the Online Store through the PagBrasil.JS callback function if the transaction has been successfully authenticated.

  7. Online Store captures the authenticated transaction (i.e. charges the card).

  8. PagBrasil notifies the Online Store if the payment has been authorized or declined.

  9. Online Store processes the order and delivers the product purchased.

 

CONFIDENTIAL