Wrong message error when using a non-existing Gift card
ID: 584102
Backlog
Published on 5/23/2022
•
Last update on 11/25/2022
Summary
there is an incorrect handling of one of the VTEX Gift Card System errors. When the user is filling in the Giftcard Redemption Code at checkout, if the user fills in a purchase code that does not exist, instead of being informed that the code is invalid, the following error will be displayed at checkout "A communication error with gift card system has occurred". But actually, there is no connection problem, it's just that the voucher doesn't exist.
Simulation
- Go to the checkout page from a store already configured to process Gift cards as payment method
- Select Gift card as the payment method and fill in a clearly not existing redemption code (Ex: aaaaa)
- Close the purchase and the message error will be displayed on the checkout page
Workaround
N/A