Setting up payments with OneBuy
You can set up OneBuy to receive payments at your store. With it, your customer chooses the payment method OneBuy to make the purchase.
To configure OneBuy, follow the steps below:
Setting up OneBuy gateway affiliation
- In the VTEX Admin, go to Store Settings > Payment > Settings, or type Settings in the search bar at the top of the page.
- On the Gateways Affiliation tab, click the + button.
- Click the OneBuy connector.
- 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 OneBuy (appKey and appToken fields).
- In Implements Installments Service, 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, you must configure the external URL that will be associated with
/options
. - In SoftDescriptor, indicate the text that will appear to identify the transactions you 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 OneBuy payment condition
- Within Payments Settings, click on the Payment Conditions tab.
- Click the + button.
- Select the OneBuy payment method.
- Click the Status button to enable this payment condition.
- The Process with affiliation field will already be filled by the OneBuy option.
- If there is an anti-fraud set up in your store, you can activate it for this payment condition by checking the Usar Anti-Fraud box.
- Choose whether you want payments to be made in cash or installments.
- If you wish, you can also opt for a special payment condition.
- Click Save.
After following the steps indicated above, OneBuy will appear at your store checkout as a payment option for your customers to use.