View Single Post
  #29  
Old 03-25-2015, 11:18 PM
 
mixon mixon is offline
Michael Bugrov
 

X-Cart team
  
Join Date: Jul 2005
Posts: 91
 

Default Re: Meet 4.6.6: Simplify Commerce, SagePay API update, Universal Analytics, VAT exemption

Quote:
Originally Posted by deepblue_tiano
Why Vat Validation is getting error, Saying "Warning! The provided vat number is invalid". I entered the right VAT number and validated through http://ec.europa.eu. I applied your patch on our server still getting the same error message.

here's the log we got:

In debug mode vat validation function always returns FALSE, until a special constant is defined: XC_VAT_NUMBER_CHECKER_EMULATE_VALID.

The actual result returned by the vat validation service can be found in logs.

Thus you have 'TRUE' in logs and 'FALSE' as a result.

Here is the patch that will keep the original value in debug mode until extra special constant is defined.
Attached Files
File Type: txt DIFF.patch.txt (672 Bytes, 3 views)
__________________
--
Sincerely yours,
Michael Bugrov,
X-Cart Software Architector

founder of: X-Monitoring service
founder of: Infinite scroll

Facebook
Linked-in
Reply With Quote