The european_countries list in uc_vat_number.js has leading zeros for the entries 040 and 056 (Austria and Belgium), which causes them to be interpreted as octal numbers. Belgium and Austria are therefor not considered European countries, so no VAT number entry is possible. A patch to remove these zeros is attached.

CommentFileSizeAuthor
uc_vat_number.js_.patch841 byteswimh

Comments

wimh’s picture

The same problem is also in uc_vat_number.module:uc_vat_number_checkout_validate()

attiks’s picture

I added a patch to #645260: Is there something wrong, which removes the leading 0 in the module file and disables the javascript stuff amongst other fixes

wimh’s picture

Assigned: Unassigned » wimh
Status: Active » Fixed

Patch removing leading 0 has been committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.