WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Stripe] Card/Javascript error when checking out (6 posts)

  1. emdiesel
    Member
    Posted 1 year ago #

    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!

  2. janemig
    Member
    Posted 9 months ago #

    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!

    Best,
    Jane

  3. grahamharper
    Member
    Posted 8 months ago #

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

  4. janemig
    Member
    Posted 8 months ago #

    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!

  5. ciaranhanrahan@hotmail.com
    Member
    Posted 7 months ago #

    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!

    https://www.caminoways.com/blog/shop/

    Cheers,

    CiarĂ¡n

  6. esmi
    Forum Moderator
    Posted 7 months ago #

    @ciaranhanrahan@hotmail.com: If you require assistance then, as per the Forum Welcome, please post your own topic.

Topic Closed

This topic has been closed to new replies.

About this Topic