Menu
Feedback
Payment amount mismatch error after switching installments with reCaptcha v2 in Checkout
Checkout
ID: 1320840
Backlog
Published on11/6/2025
Last updated on11/6/2025
1 min read

Summary

Checkout can intermittently block order placement with the error “The payment amount does not match the expected amount” after the shopper switches between installment options with and without interest and then proceeds to place the order. Cases were consistently reproduced when reCaptcha v2 is enabled, which sometimes can trigger a transaction request with total value different from the payment total.

Simulation

Prerequisites: Account with reCaptcha v2 enabled in Checkout. Have at least one payment method that offers installments with interest and another option without interest.

Steps:

  1. Create a new cart.

  2. Select a credit card with an installment option that applies interest then proceed to enter card data.

  3. Switch to a no-interest option so the total value changes (the inverse also works, i.e. selecting option without interest first and then changing to an option with interest).

  4. Click to finalize/place the order. In failing attempts, Checkout returns “payment amount does not match the expected amount.” The behaviour is intermitent but easily reproducible (approximately 3 retries to reproduce, in average).

Workaround

Disabele reCaptcha v2 or switch from reCaptcha v2 to reCaptcha v3 for Checkout. Alternatively, try to switch installment options and place the order again.

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