woocommerce / woocommerce-gateway-stripe

The official Stripe Payment Gateway for WooCommerce
https://wordpress.org/plugins/woocommerce-gateway-stripe/
236 stars 206 forks source link

Legacy Checkout Experience uncaught error: "Stripe initialization data is not available" on checkout #3488

Closed james-allan closed 1 month ago

james-allan commented 1 month ago

Describe the bug On the latest version of the develop branch I've noticed the following error in the browser console when the legacy checkout is enabled.

Screenshot 2024-10-01 at 2 14 42 pm

Before shipping 8.8.0, we should be sure to resolve this error.

To Reproduce Steps to reproduce the behavior:

  1. Checkout develop
  2. npm run build
  3. Enable the legacy checkout experience
  4. Add an item to the checkout and go to checkout.
  5. Open the browser developer tools.
  6. You should see the error mentioned above
james-allan commented 1 month ago

I've discovered that this is only occurring on my local because of the ece feature flag. Given this feature flag won't be present on sites, when 8.8.0 goes live, I've removed the high priority.