• Resolved colbinator

    (@colbinator)


    The Stripe Tax plugin is working great for logged in website users with filled-in addresses on their profiles, but not for guests. It gives the fatal/critical error (courtesy of WP_DEBUG):

    Fatal error: Uncaught TypeError: Stripe\StripeTaxForWooCommerce\Stripe\Validate::check_customer_details_address_fields(): Argument #1 ($customer_details_address) must be of type array, null given, called in /PATH_TO_WORDPRESS/wp-content/plugins/stripe-tax-for-woocommerce/Stripe/class-calculatetax.php on line 119 and defined in /PATH_TO_WORDPRESS/wp-content/plugins/stripe-tax-for-woocommerce/Stripe/class-validate.php:296

    I’ve changed to the Twenty Twenty-Four, disabled every plugin except for WooCommerce, WooCommerce Stripe Gateway, and of course Stripe Tax, but the problem still occurs. The only time it doesn’t occur is if I uncheck “Enable tax collection: Enable Stripe Tax” in the Stripe Tax settings tab in WooCommerce’s settings. Any help or insight is appreciated. Let me know if additional information is needed.

    Software Versions:

    • Stripe Tax: 1.1.1
    • Stripe Payment Gateway: 8.8.2
    • WooCommerce: 6.6.2
    • WordPress: 9.3.3
    • PHP: 8.2
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter colbinator

    (@colbinator)

    I think I found a workaround. Turns out that the “Default Customer Location” setting needs to be set to “Geolocate” in the WooCommerce settings general tab. I was still on the default setting of “No location by default”. I’ve been trying to figure out what was wrong for the past few days and of course I only find out after submitting for help (go figure).

    If this is a #featurenotabug, this should be documented somewhere. The documentation on the Stripe website, WooCommerce plugin page (and associated doc pages), and WordPress plugin page don’t mention this explicitly anywhere (at least nowhere that I’ve seen). Otherwise I can provide a full stack trace from the error if that will help narrow down where this bug is occurring.

    Plugin Author Stripe Tax

    (@stripetax)

    Hello,

    Thank you for reporting the issue. We are currently looking into it and will get back to you with a response as soon as possible.

    We appreciate your patience.

    Best regards,
    The Stripe Team

    Plugin Author Stripe Tax

    (@stripetax)

    Hello,

    We’ve recently released a new version, 1.1.2, which addresses this issue.
    Could you please update the plugin to the latest version and let us know if the issue persists?

    Thank you!

    Thread Starter colbinator

    (@colbinator)

    That fix resolved it. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.