Frequently Asked Questions
Fix redirect error in PagSeguro
Fix redirect error in PagSeguro
Published on 2/15/2018
•
Last update on 2/16/2024
This payment integration can no longer be configured on the platform due to the legacy provider removal process and the article will soon be removed from the Help Center. Check with your provider for more information about developing the new payment integration and the steps required for migrating settings in your store.
If you are having "redirect problems" using PagSeguro, it's likely that PagSeguro's redirect is configured incorrectly.
To fix the problem, there are two options: Set the PagSeguro with redirect in the correct way or configure the PagSeguro without redirect.
Setting up PagSeguro with redirect
Configuring Gateway Affiliation PagSeguro
- 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 PagSeguro in the search bar and click on the name of the provider.
- Fill in the email and token fields with the information provided by PagSeguro.
- Follow the Configuração do redirecionamento guidance outlined in the configuration panel.
- Click
Save
.
Setting up PagSeguro Payment Condition
- After successfully setting up the Gateway Affiliation in the previous step, click on the Payment Conditions tab.
- Click the + button in the upper right corner of the screen.
- Click on the PagSeguro condition.
- In the Status flag, select the Active option.
- In Process with affiliation, select the PagSeguro affiliation registered in the previous step.
- Complete the other desired fields for the payment condition setting.
- Click Save.
Setting up PagSeguro without redirect
Configuring PagSeguro Gateway Affiliation without redirect
- Access the Payments section.
- Click the Settings button.
- Click on the Gateway Affiliations tab.
- Click the + button in the upper right corner of the screen.
- Click on the PagSecure without redirect affiliation.
- Follow our [PagSeguro configuration tutorial without redirect] (/ en / tutorial / how-configure-the-pagseguro-without-redirect-transparent)
Setting the Payment Condition
- After successfully setting up the Gateway Affiliation in the previous step, click on the Payment Conditions tab.
- Click the + button in the upper right corner of the screen.
- Click the desired payment condition. In the case of PagSeguro Affiliation without redirect, this can be a credit card or a bank slip, for example.
- In the Status flag, select the Active option.
- Under Process with affiliation, select the PagSeguro without redirect affiliation registered in the previous step.
- Click Save.