Fatal Error When Adding Product to Cart
-
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)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.