Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Loop in the authentication pop-up when the first payment condition requires authentication
Loop in the authentication pop-up when the first payment condition requires authentication
ID: 844192
Backlog
Published on 6/14/2023
Last update on 12/21/2023

Summary

The authentication pop-up gets in loop when the first payment condition has requiresAuthentication: true. Continuing the purchase will only be possible if the page is reloaded.

Simulation

  • Configure a payment condition with requiresAuthentication: true;
  • Make sure the payment condition is the first one;
  • Use an existing email in the checkout to be identified;
  • Go to the Payment step and the authentication pop-up;
  • Log in using one of the options and notice that the pop-up is not closed.

Workaround

  • Change the order of the payment condition guaranteeing that the first option is not the one with requiresAuthentication: true;
  • Set the parameter "defaultPaymentSystemToApplyOnUserOrderForm" in the orderForm Configuration via API for one without authentication, such as a credit card.
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback