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.
- AuthorPosts
-
September 1, 2022 at 9:40 am #105476
Francesco
GuestHello,
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,
Francesco
- This topic was modified 5 months, 3 weeks ago by
WPWhale.
September 1, 2022 at 11:25 am #105477Francesco
GuestI 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: [191317292]; Company: []; Method: [curl])”
When I set simple, the following error appears on the log: “INFO Error: No response (Country: [DE]; VAT ID: [191317292]; Company: []; Method: [file_get_contents])”How can I solve this issue?
September 2, 2022 at 12:38 pm #105478WPWhale
ModeratorHi Francesco,
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.
Omar
September 7, 2022 at 11:53 am #105479natasa
ParticipantHello 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! 🙂
Natasa
September 8, 2022 at 6:20 am #105480Francesco
GuestThank 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 #105481Francesco
GuestUpdate: unfortunately, cURL extension is enabled and update, but plugin still not working.
September 8, 2022 at 12:20 pm #105482 - This topic was modified 5 months, 3 weeks ago by
- AuthorPosts
- You must be logged in to reply to this topic.