Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
NIF field at checkout in Portugal allows special characters and causes problem in order flow
NIF field at checkout in Portugal allows special characters and causes problem in order flow
ID:
Backlog
Published on 3/28/2018
Last update on 12/22/2022

Summary

The NIF field (document) in the checkout for Portugal (UI) is allowing special characters to be entered as value. However, orders that are closed with special characters get stuck with error in the OMS.

{"base64":"  ","img":{"width":1136,"height":735,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":103007,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/known-issues/Shopping/nif-field-at-checkout-in-portugal-allows-special-characters-and-causes-problem-in-order-flow_1.png"}}

Simulation

To simulate the problem, place an order at a checkout in Portugal, including a special character in the NIF (document) field. Then check the OMS error similar to the example above.

Workaround

As a temporary solution, we recommend that the developer responsible for the store includes a customization javascript at the checkout, validating the value entered according to the mask and the NIF rules.

Orders that have already been completed and have this error in the OMS will need to be canceled. So we suggest that the store contact the customer to explain the situation and help redo the order.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
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 support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback