Menu
Feedback
Start here

Known issues

Known issues
Inconsistencies in billingAddress field sent to Gateway
Payments
•
ID: 291688
Fixed
Published on8/7/2025
•
Last updated on8/7/2025
2 min read

Summary

The gateway uses the wrong address in recurring purchase scenarios when there is already a card saved in the user's profile.

The error occurs because the gateway relies on the isBillingAddressDifferent checkbox, which appears next to the card data at checkout, to define whether it will use the delivery address or billing address in affiliations and antifraud. The problem is that this checkbox in question doesn't even appear in the checkout after the first purchase with the card, but its value is false by default. This means that, being a delivery or pickup purchase, the address that the gateway will use is the delivery address and not the billing address, and this will bring problems in pickup scenarios or even to generate Bank Slips.

Simulation

Scene A:

  1. As a new user, go to a store checkout and make a delivery purchase to generate a purchase profile
  2. When paying for this order, use a card address other than the delivery address
  3. Make a new purchase with the same email and the same card, but buying from a pickup option
  4. Observe objects isBillingAddressDifferent that will be false and the address of the payment that will be a specific address

Scenario B:

  1. As a new user, go to a store checkout and make a delivery purchase to generate a purchase profile
  2. When paying for this order, use the same address as delivery address
  3. Make a new purchase with the same email and the same card, but buying from a pickup option
  4. Observe objects isBillingAddressDifferent that will be false and the address of the payment tha will not have a specific address

Workaround

Submit a product support request to proceed with the transaction.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 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