• Resolved gbever

    (@gbever)


    We have Stripe working as our payment provider in production. In development, I have added this plugin to allow ACH payments. I have completed submission to unlock this feature in Stripe and it is approved. However, when activating this plugin and connecting it to my Stripe account, checkout is now broken. The credit card fields are collapsed . I noticed a bunch of javascript console errors as well that seem related to this issue.

    Lastly, looking at the network tab shows me that there are multiple failed POST requests that return NS_ERROR_FAILURE.

    • This topic was modified 1 year, 1 month ago by gbever.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @gbever

    The reason your card fields are collapsed is you have a Javascript error on your checkout page:

    Uncaught TypeError: Cannot read properties of undefined (reading 'defaults')
        at HTMLDocument.<anonymous> (checkout.min.js?ver=8.4.0:1:81)

    That error is coming from the WooCommerce checkout.min.js file. WooCommerce uses the jQuery block plugin and the Javascript variable it uses is undefined. That error could be occurring because of your theme enqueueing jQuery (which WordPress already does) or you’re using a version of jQuery which doesn’t ship with WordPress.

    Kind Regards

    Thread Starter gbever

    (@gbever)

    You are 100% correct about 2 different versions of JQuery being loaded. I found that the original developer of this site included a version of JQuery manually in an included file. Removing this conflict fixed everything. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin Breaks Checkout’ is closed to new replies.