Dear sourouche.bagherzadeh,
Are the VAT numbers rejected during the frontend or the server validation, or both?
If only during frontend validation, then follows these step, please:
1) Check that you have enabled frontend validation (
www.magentocommerce.com/magento-connect/vat-checker-5611.html image: advanced settings).
2) If you have enabled frontend validation then check your HTML source. There should be JavaScript like
<script type="text/javascript">
//<![CDATA[
if (Validation) { Validation.addAllThese([['validate-vat', 'This is not valid VAT ID.', function(v) { if (v=='') { return true;} var url = 'http://eshopdemo.tramin.artio.cz/english/vatchecker/index/validate?vat=' v; var request = (window.XMLHttpRequest) ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP"); if (request) { request.open("GET", url, false); request.send(null); if (request.responseText) { var res = request.responseText.evalJSON(); return (res['valid']=="1"); } } return false; }]]); }
//]]>
</script>
in the tag <head>. If there is no script then there does not render block. This block is defined in the layout
app/design/frontend/base/default/layout/vatchecker.xml and you have to add it on your page in your design theme.
3) If there validation is enabled and script is placed in the HTML. Try to check, that JavaScript in your browser thrown an error. If yes, send us the error message.
If my answer did not help you, write to us here, or contact me
Diese E-Mail-Adresse ist gegen Spambots geschützt! Du musst JavaScript aktivieren, damit Du sie sehen kannst.
. We are ready to help you.
Regards.