Menu
Feedback
Start here

Known issues

Known issues
Callback with approved status not being considered to proceed with the transaction
Payments
ID: 1129281
Backlog
Published on11/4/2024
Last updated on11/4/2024
1 min read

Summary

Even though the gateway correctly receives the callback indicating that the payment status is approved, the transaction does not progress to authorized and then approved. A subsequent authorization request is sent, and since the return is undefined, the transaction remains in the authorizing status until the number of retries is exhausted.

Simulation

For this issue to occur, the gateway must retry at the same timestamp as it received the callback. It is not simple to reproduce this behavior, as hitting the exact same timestamp is quite difficult.

Workaround

There are two actions the partner can take:

  1. If the payment is approved, respond to subsequent authorization request calls from the gateway with this status rather than undefined.
  2. Increase the number of retries (delayToCancel) so that the gateway makes more attempts.
Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 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