Setting up payments with Powerpay
At VTEX, it is possible to integrate with the Powerpay payment provider. With this provider, your store can make sales through the Powerpay.
To configure Powerpay, 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 Powerpay in the search bar and click on the name of the provider.
- Fill in the Application Key, Application Token, secretKey and merchant_id fields with the data provided by Powerpay.
- In the Payment capture field, select one of the following option:
- Use Behavior Recommended By The Payment Processor: Capture is not automatic; it is scheduled according to the period specified by the acquirer. The acquirer indicates whether the payment has been authorized and can determine or recommend a number of days for the capture upon payment authorization. (This is the platform's default behavior).
- Automatic Capture Immediately After Payment Authorization: Capture is automatically performed right after payment authorization, even if the transaction includes an anti-fraud analysis.
- Automatic Capture Immediately After Anti-fraud Analysis: Capture is automatically performed right after payment authorization and anti-fraud analysis. If you select this behavior and do not have anti-fraud analysis, the system will perform the payment capture as in "Automatic Capture Immediately After Payment Authorization".
- Scheduled: Schedules The Automatic Capture: By selecting this option, the field Scheduled time frame in hours for automatic capture will be displayed, and it must be completed with the period in which the automatic capture will take place. This period must be in accordance with the limits allowed by the payment provider.
- Deactivated: Not Automatically Captured: Capture takes place only when the order is invoiced. If you select this behavior, it is important to pay attention to the invoicing time, as invoicing can exceed the capture time agreed with the payment provider and lead to the cancellation of the transaction.
-
In Enable payout split and sending payment recipients?, select whether split payments will be available for the marketplace and sellers.
-
Click on the Save button.
Setting up the payment condition
- In the VTEX Admin, go to Store Settings > Payment > Settings, or type Settings in the search bar at the top of the page.
- In the Payment Conditions tab, click on the + button.
- Choose the payment condition Powerpay.
- Activate the condition in the Status field.
- If you want to use an anti-fraud system, select the option Use anti-fraud.
- If you want, you can also configure special payment conditions.
- Click on Save.
After following the indicated steps, Powerpay connector may take up to 10 minutes to appear at your store's checkout as a payment option.