The 'Save new card' option does not work for asynchronous Payment Providers
ID: 308892
Fixed
Published on 3/11/2022
•
Last update on 4/29/2024
Summary
When the customer tries to add a new card in the My account section of stores whose affiliations doens't return a synchronous answer, the system will return an error occurred while trying to register the card and an improper charge of R$1,50 may be generated.
This error occurs because My Cards wait for a synchronous answer from credit card acquirers and most of them doesn't return an immediate response.
Simulation
- Go to the VTEX Admin.
- Configure the acquirer Mundi.
- Configure a credit card payment method — such as Mastercard, Visa, American Express, etc. — to be processed by the acquirer.
- Go to your store's home page.
- Log in by entering your email address and password.
- Click on My account.
- Go to the Credit cards section.
- Click on Add new card.
- Fill in all the fields and click on Save new card.
- This process will return an error and the customer will be charged the amount R$ 1,50, which may or may not be automatically returned later.
Workaround
N/A