Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow VAT number to be entered in the anonymous (guest) checkout. Or notify guest that it's possible only after registration #1961

Closed
AndreiMaz opened this issue Dec 14, 2016 · 1 comment

Comments

@AndreiMaz
Copy link
Member

AndreiMaz commented Dec 14, 2016

also see https://www.nopcommerce.com/boards/t/47929/eu-vat-customer-with-invalid-vat-should-not-be-able-to-order.aspx

Let's just decide what we have to do what VAT number requires some validation from a store owner (a tax setting). At least we should decide what we have to display or allow so guests understand that they can enter VAT numbers (e.g. only after registration)

So let's add setting 1. It will only be considered when EuVatEnabled is enabled.
If this new setting is disabled, then during anonymous checkout a warning that the VAT number can be entered and used only after registration should be displayed.
If it's enabled, then we add a new field on the billing address page to enter the VAT number. When saving the address, we check the validity of this number (GetVatNumberStatus method), if it's valid, then save the VAT number and its status for the customer (guest). When placing an order, this number will be saved in the order details.

@alecrt
Copy link

alecrt commented Oct 13, 2017

Any update on this?
I think all required customer and address custom fields should be considered.

So, during guest checkout process, required properties from both customer and customer-addresses should be merged in order to populate form inputs.

@AndreiMaz AndreiMaz changed the title Allow VAT number to be entered in the anonymous checkout Allow VAT number to be entered in the anonymous (guest) checkout Oct 20, 2017
@AndreiMaz AndreiMaz added this to the Version 4.10 milestone Jan 1, 2018
@AndreiMaz AndreiMaz removed this from the Version 4.10 milestone May 31, 2018
@AndreiMaz AndreiMaz added this to the Version 4.40 milestone Jun 15, 2020
@AndreiMaz AndreiMaz changed the title Allow VAT number to be entered in the anonymous (guest) checkout Allow VAT number to be entered in the anonymous (guest) checkout. Or notify guest that it's possible only after registration Jun 15, 2020
@AndreiMaz AndreiMaz modified the milestones: Version 4.40, Version 4.50 Dec 8, 2020
@AndreiMaz AndreiMaz removed this from the Version 4.50 milestone Oct 8, 2021
@AndreiMaz AndreiMaz added this to the Version 4.60 milestone Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants