Okay
  Public Ticket #3152378
Validating problem
Closed

Comments

  •  2
    oroborosinstruments started the conversation

    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

    Attached files:  B2Bking.JPG

  •  1,863
    WebWizards replied

    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
    oroborosinstruments replied

    Hi Stefan, thanks for your answer. 

    It would be great, sure I can!


    Best,

    Paolo

  •   oroborosinstruments replied privately
  •   WebWizards replied privately
  •   oroborosinstruments replied privately
  •  1,863
    WebWizards replied

    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,

  •   oroborosinstruments replied privately
  •  1,863
    WebWizards replied

    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
    oroborosinstruments replied

    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

  •  1,863
    WebWizards replied

    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.

  •   oroborosinstruments replied privately
  •  1,863
    WebWizards replied

    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
    oroborosinstruments replied

    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.


  •  1,863
    WebWizards replied

    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
    oroborosinstruments replied

    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