• Resolved Ibby

    (@ibby)


    Hi,

    I’m having a strange problem with the ‘Place Order’ button on the checkout page. I have the WC Stripe plugin set up in test mode but once all of the customer details are entered, including a test Stripe card and valid card expiry date/CVC, I am not able to submit the form because the button does not respond when clicked.

    At first, I thought this was a Stripe issue as I was getting a CSP error, but I then tried disabling Stripe and enabling Cash on Delivery.
    The ‘Place Order’ button still was not clickable.

    Please could you help with this? Not sure how to go about debugging when everything else seems to be chugging along just fine (no errors in the status report).

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • I tried it using your test card number. The pointer changes to a clickable hand, but like you said, nothing happens.

    It’s possible this is a test-tool bug and not a site bug? But with it happening for other options too, I guess not. I’m not getting any error messages.

    I’m new so am not useful here, but can verify that it’s happening.

    The links on the bottom of the page aren’t working either. Is the URL set correctly everywhere. Sorry, that’s all I have.

    Thread Starter Ibby

    (@ibby)

    @genesisgallery

    Thank you very much for having a look. The footer links are not coded to link anywhere just yet. Thanks for confirming it’s not just me!

    I tested across four browsers and it’s really left me scratching my head. It’s a pretty standard setup but I might try cleaning out my functions.php and see if it’s one of the scripts I have in there.

    I must say I’ve never encountered this with WooCommerce before. Very odd behaviour indeed.

    Thread Starter Ibby

    (@ibby)

    Ok, so, it turns out, WC seems to really dislike moving the coupon field. I used the following hook in my functions.php to move the coupon code field to after the customer details:

    // Add coupon code area above order total, old section hidden via CSS
    remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_coupon_form', 10 );
    add_action( 'woocommerce_checkout_after_customer_details', 'woocommerce_checkout_coupon_form' );

    As soon as I add this, the button breaks. I have a feeling this is because my code isn’t removing the original coupon form for some reason even though the remove_action is targeting it correctly…
    I presume this is because it now thinks there are two coupon code fields and so the fom script breaks.

    I’ve removed the snippet for now and it is working fine! Now to try and work out why exactly this is happening….

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘‘Place Order’ Button not Clickable’ is closed to new replies.