Stripe Payment Gateway Javascript Error in Wordpress Woocommerce

Error: Please make sure your card details have been entered correctly and that your browser supports JavaScript.

This stripe payment gateway error is caused by wordpress or woocommerce theme javascript code unsetting the global $ variable. It then results in an unsafe call to the variable by the jquery.payment.js file. Edit your themes footer.php file with the following code to reset the variable.

After line:
<?php wp_footer(); ?>

Add these lines:

    <script type="text/javascript">
$ = jQuery;
Be sure to add it in html code and not php code.

Was this answer helpful?

 Print this Article

Also Read Woocommerce Integration

With the WooCommerce Wordpress integration plugin, you can automatically create...

Bots bypass Wordpress registration page

This article will help eliminate the overload of bot created users. They are spamming the...

Powered by WHMCompleteSolution