Trouble Displaying the Apple Pay Button
-
Hi there,
After having tried multiple Stripe payment plugins, I must say this one has been the best so far. I have been having trouble setting up Apple Pay on my website, however. Although I have got the domain verified on Stripe, I believe that my caching plugin ‘JCH Optimize Pro’ seems to be including the JS files of the plugin and Stripe within the minified version. When I turn off the caching plugin, everything works fine.
Now, I have been trying to exclude all of the relevant files from the caching plugin manually, but have not had success yet.
The error message that shows on the product pages, cart and checkout page is – “ReferenceError: Can’t find variable: Stripe”
The JS files that I have set to be excluded from JCH Optimize are:
/apps/woo-stripe-payment/assets/js/frontend/wc-stripe.min.js
apps/woo-stripe-payment/assets/js/frontend/applepay-product.min.jsAre there any other JS/CSS files that I need to exclude, in order to make this work?
Thanks.
The page I need help with: [log in to see the link]
- The topic ‘Trouble Displaying the Apple Pay Button’ is closed to new replies.