StripeIntegration module not loaded on my browser after JS bundling and merging enabled. #337
-
When i enable the JS bundling and merging for my Magento the stripe module not get loaded in my browser (No call in network tab related to stripe). If i disable the configuration again the module get loaded in my browser. Please help me to solve this problem. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Please check if This command will show outdated modules: composer outdated "swissup/*" |
Beta Was this translation helpful? Give feedback.
-
Hi All, After extensive debugging, I discovered the root cause of the issue: the Stripe module was not loading separately when JavaScript bundling or merging was enabled. I am using the Breeze theme in my Magento setup, which includes a breeze_default.xml file for configuration. In my scenario, I had to override this file in my custom theme to ensure the StripeIntegration component loads properly within the default section. Below is the configuration for your reference:
When I changed the text 'default' in the XML to 'dynamic' (which is already used for the PayPal component), the Stripe module was loaded separately instead of being bundled into the default.js file. This resolved my issue completely. |
Beta Was this translation helpful? Give feedback.
Hi All,
After extensive debugging, I discovered the root cause of the issue: the Stripe module was not loading separately when JavaScript bundling or merging was enabled.
I am using the Breeze theme in my Magento setup, which includes a breeze_default.xml file for configuration. In my scenario, I had to override this file in my custom theme to ensure the StripeIntegration component loads properly within the default section.
Below is the configuration for your reference: