• This is my first time using this plugin for a custom theme (latest WP version and Woocommerce version). I had no customization in Woocommerce other than styling. The fields were not showing and after contact support, I was left debugging it myself.

    NOTE: this plugin has a dependency on a file called “polyfills.js” if it isn’t included like the twenty-twenty-one theme (use as your reference), the fields will not appear. After including it in my custom theme, the fields finally appeared and were able to fill in.

    Hope this helps anyone who has the same issue. They should include this in the plugin if the JS file isn’t on the custom theme.

Viewing 1 replies (of 1 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @brandingcup,

    Thanks for taking the time to leave a review as it’s really appreciated.

    With regards to the wp-polyfill-js file this is loaded by the core WordPress software itself and not any WordPress theme. When using the Twenty twenty-One theme and looking at the source code of the checkout page I can see the wp-polyfill-js file being loaded from the WordPress itself.

    Image Link: https://cloudup.com/ciy_Xx3iclR

    The path to the file wp-polyfill.min.js WordPress loads is this one below.

    wp-includes/js/dist/vendor/wp-polyfill.min.js

    Below is a screenshot of an installation that has only WordPress, WooCommerce, Stripe and the Twenty Twenty-One theme enabled. You’ll see that the card input fields and checkout process are working and are fully functional when using the free Stripe plugin.

    Image Link: https://cloudup.com/c2FaKXPyIFz

    It seems rather than Stripe or WooCommerce something on your particular installation of WordPress was preventing the wp-polyfill.min.js file from loading.

    I hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘When the fields don’t show’ is closed to new replies.