How to exclude jQuery from deferred scripts
-
According to Stripe, I need to exclude jQuery from deferred scripts
How do I do this, they provide no instruction:
Field to Enter Credit Card Information Does Not Load? If, on the Checkout page, the field to enter credit card info does not load when using Stripe, the most likely cause is a jQuery conflict. Our Stripe payment gateway plugin requires jQuery to be loaded first before our scripts are loaded. When you load scripts via async, this order is not preserved. As such, you should exclude jQuery from deferred scripts, and everything will be back to normal. In fact, loading scripts via async does not have much effect on your site as all our scripts are loaded in your website's footer after the main website content has been loaded anyway.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to exclude jQuery from deferred scripts’ is closed to new replies.