This gateway supports payments by credit card, Boleto Flash, PEC Flash, and PIX
More information about the checkout flow for each option can be found at https://pbdocs.pagbrasil.com/
Customer tax Id is required for all transactions. For a new sale pass the Id using the custom5 parameter
Recurring payments are disabled by default at PagBrasil. If you want to use recurring payments, please contact PagBrasil for further information. Recurring payments are supported on credit cards only.
PagBrasil supports only full refunds. Partial refunds will be rejected.
Step 1:
Go to Merchants → Gateway Integrations and activate the PagBrasil tile with the “+ Activate” button
Step 2:
Enter the token and secret from your PagBrasil account. Press the green “Create Gateway” button to create your PagBrasil gateway.
Step 3:
Apply the gateway to your offers and upsells within the campaign.
Step 4:
Implement the following requirements for each of the payment options when using the Import Order API
Credit cards
Pass full card information as documented in Import Order API
custom5 = [consumer’s tax id]
Boleto Flash
paySource = PREPAID
prepaidType = PAGBRASIL_BOLETO
custom5 = [consumer’s tax id]
After successful checkout the Boleto consumer URL is available in CRM in the Transactions panel on the customer and order detail pages (Show Txn Additional Data)
PEC Flash
paySource = PREPAID
prepaidType = PAGBRASIL_PEC
custom5 = [consumer’s tax id]
After successful checkout the PEC consumer data is available in CRM in the Transactions panel on the customer and order detail pages (Show Txn Additional Data)
PIX
paySource = PREPAID
prepaidType = PAGBRASIL_PIX
custom5 = [consumer’s tax id]
Ensure that the checkout page supports basic 3DS redirect functionality so the QR code is automatically displayed to the consumer
Step 5:
Login to your PagBrasil account
Go to Account → Settings → Main
Set IPN URL to https://api.checkoutchamp.com/billers/pagbrasil/notification/