• Resolved Floor Art

    (@weaversart)


    Hi there,
    My customers are not able to enter in their credit card info. The fields for payment can’t be clicked on. This is the console error I see:

    wc-square.js:303 Uncaught TypeError: this.enabled_card_types.includes is not a function
        at WC_Square_Payment_Form_Handler.handle_card_brand_change (wc-square.js:303)
        at WC_Square_Payment_Form_Handler.handle_input_event (wc-square.js:273)
        at t.inputEventReceived [as _inputEventCallback] (wc-square.js:238)
        at t.value (paymentform?ver=2.5.3:1)
        at Array.<anonymous> (paymentform?ver=2.5.3:1)
        at r.handle (paymentform?ver=2.5.3:1)

    Any suggestions?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi @weaversart – Can you send me a copy of your site’s system status report? You can find that at: WP Dashboard > WooCommerce > Status > 'Get system report'

    I am having the same issue. Looks like a recent update must have broken this again.

    Uncaught ReferenceError: WC_Square_Payment_Form_Handler is not defined
    at HTMLDocument.<anonymous> ((index):592)
    at e (jquery.min.js?ver=3.6.0:2)
    at t (jquery.min.js?ver=3.6.0:2)

    The Square checkout fields seem to be working for me when I test this on my own site:

    https://d.pr/i/ieEm4r/BjT5QJBoBB

    I don’t see any errors in my browser console either.

    This leads me to believe that something in your site’s environment is likely conflicting with Square’s payments form. I’d suggest a conflict test to see if you can find out what that could be.

    The best way to determine if the issue is being caused by a theme and/or plugin is to temporarily switch your theme to Storefront and disable all plugins except for WooCommerce and Square. Finally, test to see if the issue is resolved by going to checkout. Does the form work? It should.

    To figure out which plugin is causing the problem, continue to the next step – reactivate your other plugins one by one, testing after each, until you find the one causing conflict.

    Here’s a more extensive explanation in our docs:

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Let us know what you find! ?? Thanks!

    I have already done this, the issue is from the recent update to the square plugin. You can see the problem on my site located at https://twillworks.com/products/test

    Plugin Support con

    (@conschneider)

    Engineer

    Hi again,

    I have already done this, the issue is from the recent update to the square plugin. You can see the problem on my site located at https://twillworks.com/products/test

    Thank you for the test site, I do get the same result: https://d.pr/i/TvQfh3

    I can see there are still a couple of extensions active i.e. Google Calendar Events: https://d.pr/i/o0yLNg

    Can I ask you to disable all the things and only leave Square and WooCommerce + WooCommerce Product Add-Ons active. Does that change anything?

    Kind regards,

    Thread Starter Floor Art

    (@weaversart)

    I solved this error by disabling my Async plugin. There was something going on with the JS file. Once it was disabled, customers were able to enter the payment fields.

    melinda a11n

    (@melindahelt)

    Automattic Happiness Engineer

    Hi there! I’m glad you were able to resolve that. I’m going to mark this post as resolved.

    I haven’t been able to resolve this, I don’t have an async plugin. Maybe I should just switch to the paypal plugin that isn’t broken.

    Plugin Support nathvi V. a11n

    (@nathvi)

    Hello @etheisen

    Could you please open a new post so we troubleshoot this problem individually? You can reference the steps listed in this forum thread so we can better understand the steps taken.

    My customers that are using their mobiles cannot enter card info. This is related to mobiles but not normal PCs.

    Plugin Support Thu P. a11n

    (@thup90)

    Hi @ahawari ,

    Per forum guidelines, please open your own forum thread and provide us with as much details as possible so we can help you further.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Credit Card fields not clickable’ is closed to new replies.