Support » Plugins and Hacks » [Plugin: Stripe] Card/Javascript error when checking out

  • Hey guys, I’ve been working on trying to get my stripe account to process credit cards. I’m still trying to use it in test mode at the moment. Every time I go to check out, I enter in these credentials

    Card: 4242424242424242 (fake test visa #)
    Expiration Date: Febuary/2016
    Security Code: 1111 and 111 (neither of them have worked)

    Everytime I use this, I get an error saying:
    Error: "Please make sure your card details have been entered correctly and that your browser supports JavaScript."

    The weird thing is that afterwards, I go to the orders list, and my order has been put on the pending list. So it seems like its going through, just not sure why it would still be throwing this error. Any help would be greatly appriciated!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi emdiesel,

    I’m running into the same issue. I am using Stripe plugin via Woocommerce. Is that your config as well? I’d love to know if you were able to resolve it, many thanks in advance!


    I’m having the same issue. Did you ever get it resolved?

    Yes, I did and it was easy. For me it was that the header.php and footer.php files were not in the root folder, so I placed them there and, most importantly, made sure both files had <?php wp_header(); ?> in the header.php file and <?php wp_footer(); ?> in the footer.php file. The Stripe plugin relies upon the wp_footer(); to hook the code. Once I had that in place, everything worked. I hope that helps!

    Hi janemig,

    I have the exact same issue. Do you mean have the footer.php and header.php in the root of the theme (example /themes/magazine-basic/footer.php). My header.php file has <?php wp_head(); ?> at the top, would that make a difference as to why that’s not working? Would changing my theme help?

    Is there something in the plugin I need to change? I’m just a little unsure as to how your solution worked if you could help me out? I cant replicate the “Please make sure your card details have been entered correctly and that your browser supports JavaScript.” error myself unfortunately it’s someone who’s trying to buy from me who’s getting it and I really need to sort it!





    Forum Moderator If you require assistance then, as per the Forum Welcome, please post your own topic.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Stripe] Card/Javascript error when checking out’ is closed to new replies.