• Resolved kyleburntcow

    (@kyleburntcow)


    Working on a Development site, I am able to fill out the checkout info and payment method and submit, but the page simply reloads and does nothing. Oddly, it seems to work fine when doing it from my local machine, and I’ve already done everything I can to ensure that everything between the two is the same.

    Checking in Stripe, it looks as though it is successfully creating a customer and completing a successful payment_methods POST, but nothing beyond that.

    * I have already checked for JS errors, and there are none
    * I haven’t seen any errors in the logs, other than one that only appeared once as far as I can tell: “ERROR Could not complete payment for payment_intent pi_1JBM6OLrjXvWb8RWRkWRIUiW. No order ID was found in your WordPress database.”

    Any help would be greatly appreciated!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @kyleburntcow,

    If the page reloads that typically means there is a JS error interfering with the WC ajax checkout process. You mentioned you didn’t see any JS errors. Did you check for errors appearing after the Place Order button was clicked?

    Can you share your development site url so I can take a look?

    Kind Regards,

    Thread Starter kyleburntcow

    (@kyleburntcow)

    @mrclayton Yes, I did check for JS errors after the Place Order button was clicked.

    The dev site URL is: https://dev.totalfarmmarketing.com/

    You can go to this product to add it to cart and replicate what I’m seeing:
    https://dev.totalfarmmarketing.com/product/test-subscription-product/

    I’m happy to jump on something with you to debug if you’d like!

    Best,

    Plugin Author Clayton R

    (@mrclayton)

    @kyleburntcow there is a JS error being triggered during the checkout process:

    Uncaught (in promise) TypeError: e.removeClass(...).unblock is not a function.

    That error means you don’t have the required jQuery block plugin enqueued. It’s required by WooCommerce on the checkout page.

    Once you find where that is being dequeued the issue will be resolved.

    Thread Starter kyleburntcow

    (@kyleburntcow)

    Ok I guess I’ll blindly look for that, because I cannot see that error, no matter what I set the logging level to in the console. That’s quite odd…

    Plugin Author Clayton R

    (@mrclayton)

    Leave the credit card input fields blank and click place order button and you should see that error appear in the developer console of your browser.

    Thread Starter kyleburntcow

    (@kyleburntcow)

    Gotchya; I hadn’t thought to leave fields blank and try it. I think I’ve got it now… the original authors of the theme deregistered jQuery and replaced it with an (old) static version of their choosing ><

    Thank you very much!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Checkout Silently Failing’ is closed to new replies.