• Resolved Sami Laakso

    (@snowdale)


    I’ve installed WooCommerce and the Stripe plugin on my website. Now I have a problem where the stripe credit card fields aren’t loading at all. You can see an image here.

    I have narrowed it down to my custom theme as the fields do load properly with a stock theme. However, I’m stuck on figuring out which part of the theme is messing up with the Stripe plugin. Any help would be greatly appreciated.

    Edit: I managed to narrow the culprit even more. If I remove the row in functions.php where I load jQuery, the fields work correctly. Should I load jQuery in a different manner? You can see the line about that below.

    wp_enqueue_script( 'google-jquery-3-3-1', 'https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js', array(), false, true );

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

Viewing 1 replies (of 1 total)
  • Thread Starter Sami Laakso

    (@snowdale)

    I figured it out. By changing the last “true” to “false” (changing when the jQuery is being loaded, I was able to fix the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘Credit card fields not loading’ is closed to new replies.