Setting up payments with PagBrasilV2
At VTEX, it is possible to integrate with the payment provider PagBrasilV2. Through this provider, your store can make sales using debit and credit cards, bank slips, notes payable and PIX.
To configure PagBrasilV2, follow the steps below:
- In the VTEX Admin, access Store Settings > Payment > Providers, or type Providers in the search bar at the top of the page.
- On the providers screen, click the
New provider
button. - Type the name PagBrasil-v2 in the search bar and click on the name of the provider.
- In Provider Authorization, fill in the App Key and App Token fields with your PagBrasilV2 account information.
- If you wish to modify the identification name to be displayed for the PagBrasilV2 provider on the VTEX Admin screen, enter the information in the Name field in Basic Information.
- In External Service Url, enter the external URL that will be associated with
/pvt/payments?an={AccountName}
. - In Implements Installments Service, select whether you want to use external installment services or what is configured in the portal. If you choose the Yes option, the system will use the URL configured in the Installments Service Url field.
- In External Cancellation Service, select whether an external cancellation service should be used. If you choose the Yes option, the system will access the URL configured in the External Service Url field.
- In Installments Service Url, enter the external URL that will be associated with
/options
. - In SoftDescriptor, indicate what information should appear to identify the transaction carried out in your store.
- In Captura antecipada (Early capture), choose how long you want the capture to be carried out (after transaction approval and anti-fraud analysis). This function can also be deactivated.
- In Do you have an anti-fraud agent hired with this affiliation?, indicate whether you want to use an anti-fraud agent.
- Click Save.
To configure the payment methods to be processed by PagBrasilV2, access Configuring payment vonditions.
To set special conditions on payment methods, go to Configuring payment special conditions.
After following the indicated steps, PagBrasilV2 may take up to 10 minutes to appear at your store's checkout as a payment option.