• Resolved efox

    (@foxylearning)


    I just tested the latest update (8.0.0) and it basically doesn’t work at all on my site. Sales tax is not being calculated and returns an error like this on the cart page:

    Failed to calculate sales tax: error setting certificate verify locations: CAfile: CApath: none

    The exemption certificates also do not work at all. The link to manage certificates takes the user to the newly created “Exemption certificates” section of the my account dashboard, but the “Add certificate” button does not do anything when clicked. The “add certifciate” drop-down and option on the checkout page does not do anything when selected or clicked, either.

    My error logs return this PHP warning:

    PHP Warning: Undefined array key “certificate” in /wp-content/plugins/simple-sales-tax/includes/views/html-certificate-form.php on line 12

    It’s possible all of the problems are related to the exemption certificates; I did not think to test disabling that feature before rolling back to the previous version of the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter efox

    (@foxylearning)

    I decided to test what would happen if I just disabled the exemptions, but upon trying to save the setting, it generated a critical error WSOD. Saw this in my logs:

    PHP Fatal error: Uncaught TaxCloud\\Exceptions\\GetLocationsException: error setting certificate verify locations: CAfile: CApath: none

    Plugin Author Brett Porcelli

    (@bporcelli)

    @foxylearning The CA path issue has been resolved, sorry about that. Not sure how that didn’t show up in my testing environment.

    In regards to the issue with the exemption certificate UI not working, I am attempting to reproduce locally but I’m having no luck. I tried with the latest versions of WP/WC/SST and a couple of popular themes, Storefront and Astra. Can you provide some more details on your environment and the specific theme you’re using? Also, do you see any specific errors in the dev console when the “Add Certificate” button isn’t working?

    @dwebsmith Since you’re also experiencing issues with the exemption UI, can you please also provide the theme you’re using and any error messages that appear in the dev console on the checkout and my account pages when the UI is broken?

    Thanks both for your help identifying the steps to reproduce so I can get a fix out ASAP.

    Thread Starter efox

    (@foxylearning)

    The latest update of the plugin has resolved the fatal errors, but adding an exemption certificate (either on the checkout page or the my account page) still does not work. My theme is GeneratePress. On the checkout page, I’m seeing this error for checkout.min.js:

    <anonymous> https://example.com/wp-content/plugins/simple-sales-tax/assets/js/checkout.min.js?ver=6.3.1:1
    
    ????jQuery 13
    
    ????e
    
    ????t
    
    ????setTimeout handler*Deferred/then/l/<
    
    ????c
    
    ????fireWith
    
    ????fire
    
    ????c
    
    ????fireWith
    
    ????ready
    
    ????P
    
    ????EventListener.handleEvent*
    
    ????<anonymous>
    
    ????<anonymous>
    checkout.min.js:1:77
    
    ????<anonymous> https://example.com/wp-content/plugins/simple-sales-tax/assets/js/checkout.min.js?ver=6.3.1:1
    
    ????jQuery 13
    
    ????e
    
    ????t
    
    ????(Async: setTimeout handler)
    ????l
    
    ????c
    
    ????fireWith
    
    ????fire
    
    ????c
    
    ????fireWith
    
    ????ready
    
    ????P
    
    ????(Async: EventListener.handleEvent)
    ????<anonymous>
    
    ????<anonymous>
    
    ????<anonymous>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘8.0.0 exemption certificates very broken’ is closed to new replies.