{"section":"tutorials","requestedLocale":"en","requestedSlug":"setting-up-payments-with-transbank-webpay","locale":"en","slug":"setting-up-payments-with-transbank-webpay","path":"docs/en/tutorials/payments/payment-settings/setting-up-payments-with-transbank-webpay.md","branch":"main","content":"At VTEX, it is possible to integrate with the payment provider Transbank Webpay. Through this provider, your store can make sales via Webpay.\n\nTo configure Transbank Webpay, follow the steps below:\n\n1. In the VTEX Admin, go to __Store Settings > Payment > Providers__, or type __Providers__ in the search bar at the top of the page.\n2. On the providers screen, click the `New Provider` button.\n3. Type the name __Transbank Webpay__ in the search bar and click on the name of the provider.\n4. In __Provider Authorization__, fill in the __App Key__ and __App token__ fields with data provided by Transbank Webpay.\n5. If you wish to modify the identification name to be displayed for the Transbank Webpay provider on the VTEX Admin screen, enter the information in the __Name__ field in __Basic Information__.\n6. In __Payment Control__, select whether you want to activate the provider in a test environment by clicking __Enable test mode__.\n7. In the **Automatic settlement** field, select one of the following option:\n- **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).\n- **Automatic capture immediately after payment authorization**: Capture is automatically performed right after payment authorization, even if the transaction includes an anti-fraud analysis.\n- **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\".\n- **Disabled**: 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.\n\n8. In __Provider Fields__, fill in the __Codigo-de-Comercio__ and __Api-Key-Secret__ fields with your Transbank Webpay account information.\n9. In __MODO__ and __3DS Enabled__ select the desired options.\n10. Click __Save__.\n\n## Setting up the payment condition\n\n1. In the VTEX Admin, go to __Store Settings > Payment > Settings__, or type __Settings__ in the search bar at the top of the page.\n2. In the __Payment Conditions__ tab, click on the `+` button.\n3. Click on __Webpay__.\n4. Activate the condition in the __Status__ field.\n5. Under __Process with provider__, select the option __transbank__.\n6. If you want, you can also [configure special payment conditions](/en/docs/tutorials/special-conditions).\n7. Click `Save`.\n\nAfter following the indicated steps, Transbank Webpay may take up to 10 minutes to appear at your store's checkout as a payment option."}