Home › Forums › EU/UK VAT Manager for WooCommerce › SoapClient class does not exist – Validation not working
- Support forum for the EU/UK VAT Manager for WooCommerce.
- This topic has 6 replies, 3 voices, and was last updated 8 months, 4 weeks ago by WPWhale.
September 1, 2022 at 9:40 am #105476FrancescoGuest
Recently I installed your plugin and regardless of the VAT number it returns “Invalid VAT”. All VATs tested are registered to EU VIES.
So, I have enabled the debug mode and the log says “INFO Error: SoapClient class does not exist”.
Can you please help me understand what the problem is?
Thank you in advance,
September 1, 2022 at 11:25 am #105477FrancescoGuest
- This topic was modified 5 months, 3 weeks ago by WPWhale.
I found out that SoapClient class is not available on my webhost at the moment.
So I guess I should use another validation method. However is seems noone is working.
When I set cURL, the following error appears on the log: “INFO Error: VAT ID not valid (Country: [DE]; VAT ID: ; Company: ; Method: [curl])”
When I set simple, the following error appears on the log: “INFO Error: No response (Country: [DE]; VAT ID: ; Company: ; Method: [file_get_contents])”
How can I solve this issue?September 2, 2022 at 12:38 pm #105478WPWhaleModerator
SOAP is the most reliable method for validation, is there anyway the host can include it?
I will be happy to look further (need wp-admin & probably FTP) to make simple or cURL works, but from time to time, you might get issues on these methods, please contact us at [email protected] to see.
OmarSeptember 7, 2022 at 11:53 am #105479natasaParticipant
Hello there Francesco,
I was facing the same issue only on one of the websites that is using this plugin (different hosting environment). After contacting the hosting admin, they had to install php-soap and update php-curl library to its latest version.
After these two actions the issue has been resolved. Maybe you should try the above too!
Good luck! 🙂
NatasaSeptember 8, 2022 at 6:20 am #105480FrancescoGuest
Thank you Natasa,
Unluckly for this project we are using Elementor Cloud and at the moment it does not support SOAP protocol. I’ll try ask them to update the curl-library, btw.September 8, 2022 at 9:10 am #105481FrancescoGuest
Update: unfortunately, cURL extension is enabled and update, but plugin still not working.September 8, 2022 at 12:20 pm #105482
- You must be logged in to reply to this topic.