Setting up Pagar.me gateway
Pagar.me is a gateway that offers several solutions for processing payments in your store.
To set up Pagar.me, follow the steps below:
- In the VTEX Admin, go to 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 Pagar.me in the search bar and click on the name of the provider.
- In the External Service Url field, configure the external URL that will be associated with
/pvt/payments?an={AccountName}
. - Fill in the registration fields with the data provided by Pagar.me (fields appKey and appToken).
- In Implements Installments Service, you must choose whether you want to use external installment services or the one that is configured on the portal. If you choose yes, the system will use the URL configured in the Installments Service Url field.
- In External Cancellation Service, you must define whether or not to use an external cancellation service. If you choose yes, the system will use the URL configured in the External Service Url field.
- In the Installments Service Url field, configure the external URL that will be associated with
/options
. - In SoftDescriptor, indicate the text that will appear to identify the transactions made in your store.
- In Captura de segurança antecipada ("Early security capture"), choose how long you want the capture to take after the transaction approval and the anti-fraud analysis. You can also disable this function.
- In Use Anti-Fraud, inform if you wish to use an anti-fraud system.
- Click Save.
Setting up the payment condition
After following the steps indicated above, Pagar.me will be configured in your store. Thus, while you're registering a payment condition, it will be available in the Process with affiliation field (provided that the payment method is compatible with the Pagar.me).
To learn how to set up payment conditions, visit this Help article.