Skip to content

Stripe payment button not loaded when enable the bundling, merge_files for js

After enabling the merge_files and js_bundling options in Magento, the Stripe Express Checkout button no longer appears. Additionally, the debugger is not being triggered, and the StripeIntegration_Payments/js script is not loading in my browser. However, when I disable the merge_files and js_bundling options, everything functions as expected.

 require(['domReady!', 'StripeIntegration_Payments/js/stripe_payments_express', 'Magento_Customer/js/customer-data'], function(domReady, stripeExpress, customerData) {
            debugger;
 })