Closed rodolfo2111 closed 3 years ago
Hi @rodolfo2111. Thank you for your report. To help us process this issue please make sure that you provided the following information:
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release
For more details, please, review the Magento Contributor Assistant documentation.
Please, add a comment to assign the issue: @magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.
:warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
:clock10: You can find the schedule on the Magento Community Calendar page.
:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket.
:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel
:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel
Magento requires the VAT number without the country code. We use a free extension to allow country codes (CopeX_VatFix).
@devchris79 : I also tried it without the country code and it does not work. However, it also worked with the country code some days ago. So unfortunately this cannot be the reason for the problem
@rodolfo2111 The country code is the AT part only (Austria), the U123456 is the code required.
@devchris79 : I tried all variants ;-) It does not work. And it definitively worked with the ATU in the past
Try a genuine Austrian VAT number, like this one: U16168803
@devchris79 : i tried, also a valid one and the one you provided.
There was #27874 when the validation URL changed, but that was some time ago.
yes, I have seen this issue. Since I have the latest Magento version 2.4.1 the link should be correct: 'https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl'; But maybe some other parameters of the service changed in the last days
I identified that the Service is working on my local Magneto instance (which is a 1:1 copy of the live system) correctly ... so it seems to be a problem with my Server instance. I will check this with my provider and keep you updated
I identified the following message in the log file: main.CRITICAL: javax.xml.rpc.soap.SOAPFaultException: IP_BLOCKED [] []
Hey @rodolfo2111 looks like your server is blocking requests to EU Service, so I'm closing issue as its not related to Magento itself.
Apologies for reopening if this is not a vanilla Magento issue, however I also have this problem.
Magento 2.4.4, PHP8.1, Soap is installed.
I have the following request url in Vat.php: https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl
Same issue as reported here. "Error during VAT number verification" Tried with and without country code.
I have no logged errors.
@rodolfo2111 did you find a solution?
Summary (*)
VAT number validation does not work anymore in Magento When I try to validate a VAT number in the Magento backend Stores --> Configuration --> General --> General I always receive the message: "Error during VAT number verification" . The same problem occurs when I try to automatically check the VAT number of a customer during the registration process. Everything worked fine some days ago - I did not any change on my side in the last weeks and now it stopped working. It seems that something on the VAT service may have changed.
Preconditions (*)
Magento version 2.4.1
Steps to reproduce (*)
Enter a VAT number in the Magneto backend Stores --> Configuration --> General --> General and click the "Validate VAT number button"
Expected result (*)
The expected result should be either the verification that the VAT number is correct or a message which informs me that the VAT number is incorrect.
Actual result (*)
I get the same mesage "Error during VAT number verification", in the case that the VAT number is correct and in the case that the VAT number is incorrect. I checked the WSDL file in vendor/magento/module-customer/Model which is https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl and tested it with postman and the webserice seems to be up and running. However, obviously it cannot be called by Magento 2.4.1 anymore. Does anybody know if some parameters on the service have changed the last days and which adoptions I have to do tomake it work again.