Menu
Feedback
Start here

Known issues

Known issues
Giftcard not getting refund after transaction cancellation
Payments
•
ID: 491195
Unknown
Published on8/12/2025
•
Last updated on8/12/2025
1 min read

Summary

When the payment method is a gift card and an error occurs during the order placement process, causing the order to remain incomplete, the gift card balance is not refunded after the transaction is canceled.

This results in the gift card balance being deducted even though the debit operation technically failed. Since the gift card couldn't be properly debited, the transaction remains incomplete. However, upon reviewing the gift card statement, it's possible to see that the debit was processed successfully, despite the error message displayed in the interactions.

This occurs because the system utilizes multiple databases to register gift card transactions, which can result in inconsistencies between the user's statement and the data returned by the API. The most common scenario is that the gift card is debited first, and then the transaction is saved. If a failure occurs during this second step, the debit is not rolled back, resulting in the inconsistency

Simulation

It's not possible to simulate

Workaround

Refund manually via the Gift Card UI.

Contributors
3
Photo of the contributor
Photo of the contributor
Photo of the contributor
+ 3 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
3
Photo of the contributor
Photo of the contributor
Photo of the contributor
+ 3 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback