Public Ticket #3152378

Validating problem

Closed
Comments
2 Tickets 2
oroborosinstruments started the conversation 4 years ago on October 24, 2022 at 8:57am

Hi, we set up the plug-in, but when we try to use it, it get stuck during the Validating process, without saying correct or incorrect, just staying there checking forever.
Can you help us to fix the problem or at least address us?

Many thanks in advance
Paolo Cocco

2,762
KingsPlugins replied 4 years ago on October 25, 2022 at 8:17am

Hi there,

Thank you for purchasing our plugin,


From your screenshot, that seems like some kind of error during the AJAX request. I would like to check it directly to troubleshoot and resolve this for you,

Would you be able to share a backend login to your site or a staging clone site with us? I'd like to run some tests and look into this,


Kind regards,

Stefan

2,762
KingsPlugins replied 4 years ago on November 3, 2022 at 9:19pm

Hi Paolo,

Thank you, I see the login is working for us and we're able to access the dashboard,

We will check this and I will get back to you here with more information as soon as possible,

2,762
KingsPlugins replied 4 years ago on November 5, 2022 at 4:37pm

Hi Paolo,

I have looked now into this issue,


I believe the problem is that SOAP / SoapClient is disabled in your hosting / PHP configuration. SOAP is a popular PHP extension that B2BKing uses in order to connect with the Europa.EU API for the VIES validation. It needs to be enabled in your PHP settings.


Sometimes it is possible to enable SOAP through cPanel: please see this guide https://itnuthosting.com/support/php-soap-extension/ 

Or if not, please contact your hosting company to enable it for you.

This is a fairly common issue with VAT validation that should be solved by enabling that.

Kind regards,

Stefan


2 Tickets 2
oroborosinstruments replied 4 years ago on November 8, 2022 at 2:57pm

Hi Stefan,

so, we installed the SOAP, and now it go past the validating stage (thank you!!), but it still let me check out with an invalid vat number (and charged VAT). We want it to block checkout if a valid VAT is missing (for EU countries only, others it is should be able to check out and not be charged VAT.


Am I missing something in the configuration?


Best,

Paolo

2,762
KingsPlugins replied 4 years ago on November 11, 2022 at 1:44am

Hi Paolo,

The plugin does not have the possibility to block the checkout if there is a missing VAT number.


What I would suggest in that case is to force users to first register in order to place an order. During registration, the plugin can force a valid VAT. It can also be made so that only EU countries' users must provide a VAT during registration.

Then if a logged in B2B user reaches the checkout page, they have already provided their VAT nr during registration.

2,762
KingsPlugins replied 4 years ago on November 17, 2022 at 12:27pm

I'm looking at this again now,


but it still let me check out with an invalid vat number (and charged VAT). We want it to block checkout if a valid VAT is missing (for EU countries only, others it is should be able to check out and not be charged VAT.

Actually this should be possible - I'm sorry, I think I previously misunderstood what you were asking.


I tested this now on your site. If no VAT is entered, there will be an alert error:

5284587795.png


If a wrong VAT nr is entered,:

9242133389.png


there would also be an error after clicking 'place order':3517505627.png




Are you still seeing this issue?

If so, what steps are you taking to be able to checkout with an invalid VAT number?



2 Tickets 2
oroborosinstruments replied 4 years ago on November 18, 2022 at 9:46am

Hi, we just tried and it is still not working.

We do that:

Add the test product to the cart, proceed to check out and fill in the checkout fields completely (so nothing else can flag as incomplete) and then a fake VAT number. It says invalid at this point, and I just leave it like that and click place order and it works.

If i leave it blank it does say valid VAT is required.


2,762
KingsPlugins replied 4 years ago on November 20, 2022 at 2:00pm

Thanks for the details, I see there was a VAT validation problem when using a vat with correct country code but wrong number.

I have updated the plugin on your site and it appears resolved to me now. I've tried with a VAT like IT12345 as in your test, and I'm no longer able to place the order.

2 Tickets 2
oroborosinstruments replied 4 years ago on November 24, 2022 at 2:29pm

Hi there!
Thank you so much, the VAT problem seems working now! cool!
I have another request but I will open a new ticket.


Thanks again and best regards,

Paolo

1

Sign In