Menu
Feedback
Start here

Known issues

Known issues
Address in orderForm with excessive size for multiples cities separated by '::'
Checkout
ID: 287854
Backlog
Published on1/6/2023
Last updated on1/6/2023
1 min read

Summary

In some cases, Checkout API uses "::" as a separator when there are several cities possibilities from the zip code service, causing an error about excessive size in the field address, impacting placing the order. This behavior happens because the API has a autocomplete for address

Simulation

Considering Argentina as an example that fits this condition, when adding the postal code 4427 via "vtexjs" or API you can see the address defined in the orderForm separated by "::"

Workaround

Via API: send the parameter "clearAddressIfPostalCodeNotFound": false in the request to avoid the address being autocompleted Via "vtexjs": use the function "sendAttachment()" instead of "calculateShipping()" so it's possible to use the parameter mentioned above

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