Menu
Feedback
Start here

Known issues

Known issues
Risk analysis canceled earlier than expected due to fixed retry limit
Payments
ID: 1282965
Backlog
Published on8/28/2025
Last updated on8/28/2025
1 min read

Summary

In a transaction with an anti-fraud connector built using VTEX’s standard anti-fraud protocol, it is possible to notice that when the hook field is sent, the transaction is canceled earlier than expected. By default, the anti-fraud controller enqueues 24 attempts instead of the desired number defined by the provider when the method with hook is triggered. This results in far fewer analysis attempts than expected.

The following message is strong evidence that the issue occurred:

Could not do risk analysis for transaction . Current Transaction status was AnalyzingRisk. Authorization tries: 24. Exception Message : Could not confirm the transaction with Id = . Confirmation pending. Authorization tries: 24.Finished retries.

Simulation

  1. Configure an anti-fraud connector that has the hook field.
  2. Create a transaction that uses a rule with an anti-fraud connector (AFPP).
  3. Check the iterations: there will only be 24 retries of risk analysis. After that, the transaction will enter the cancellation flow.

Workaround

There is no workaround.

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