![]() |
Start here |
![]() |
Configuration |
![]() |
WSPG |
![]() |
APIPG |
![]() |
Webhooks |
![]() |
Charts |
![]() |
Example |
![]() |
Downloads |
![]() |
SandBox |
For a better understanding of the intercommunication between Pagadito Comercios and Pagadito, Pagadito provides explanatory charts.
The following is a flowchart detailing the processes carried out to successfully collect payment from a Buyer User by Pagadito Merchant through Pagadito.
Pagadito Merchant displays the "Check Out" screen to the Buyer User, detailing his purchase. It communicates with the WSPG to register the transaction.
WSPG oversees recording the transaction requested by Pagadito Merchant and passes the control to Pagadito.
Pagadito shows the Buyer User a screen with the details of the purchase and a Login chart.
The user enters his/her email and password to authorize the charge. If the user does not have enough Pagadito funds, he/she is asked to select a card to charge it.
Pagadito makes the charge to the Pagadito account or card of the Buyer User.
Pagadito makes the credit to Pagadito Merchant's account (Funds receivable from Pagadito Merchant are effective five business days after payment date). Then redirects the Buyer User to Pagadito Merchant's website.
Pagadito Merchant finalizes the payment process, showing a finalization screen to the Buyer User.
The following is a sequence diagram detailing the mechanics required to achieve a successful collection process from the Pagadito Merchant platform.
The Buyer User enters the Pagadito Merchant site and selects "Buy" in his shopping cart.
Pagadito Merchant calls the connect() operation to request a token; sending uid and wsk.
The WSPG returns the Response Structure, with the token in the "value" index.
Pagadito Merchant calls the operation exec_trans() to register the operation and obtain the url where the payment will be made; sending token, amount, ern, and details.
The WSPG returns the Response Structure, with the url in the index "value".
Pagadito Merchant redirects the Buyer User to the url returned by the WSPG, where the payment will be made.
Pagadito shows the "Purchase Confirmation" screen where the details, prices and total of the purchase are listed. In addition, the Buyer User is asked for his/her email and password.
The Buyer User enters his email and password to validate his account and confirm payment.
Pagadito processes the payment, charges the Buyer User, and credits the Pagadito Merchant's account (Funds to be received from Pagadito Merchant are effective 5 (five) business days after the payment). Pagadito confirms the payment and redirects the Buyer User to the Pagadito Merchant Return URL, previously formatted to include the transaction token.
Pagadito Merchant calls the connect() operation to request a token; sending uid and wsk.
The WSPG returns the Response Structure, with the token in the index "value".
Pagadito Merchant calls the get_status() operation to request the status of the transaction, sending a token and token_trans. The token_trans is the token received in the Return URL as a GET variable.
The WSPG returns the Response Structure, with the transaction status in the "value" index and the transaction ID in the "detail" index.
Pagadito Merchant displays a purchase completion screen to the Buyer User.