• Resolved deepaksaini6413

    (@deepaksaini6413)


    I have been followed given instruction for setup square payment gateway.
    But still having issues.

    – Disconnect Square completely
    – Disable, delete plugin
    – Reinstall plugin
    – Reconfigure via walkthrough

    
    paymentform?ver=2.1.5:1 Uncaught FormNotReadyError: Cannot call SqPaymentForm#requestCardNonce before the paymentFormLoaded() callback. See Step 4: https://developer.squareup.com/docs/payment-form/how-it-works#the-sqpaymentform-process-flow
        at St (https://js.squareupsandbox.com/v2/paymentform?ver=2.1.5:1:152590)
        at Ct (https://js.squareupsandbox.com/v2/paymentform?ver=2.1.5:1:162088)
        at Et.requestCardNonce (https://js.squareupsandbox.com/v2/paymentform?ver=2.1.5:1:154974)
        at n.value (https://emelieart.com/wp-content/plugins/woocommerce-square/assets/js/frontend/wc-square.min.js?ver=2.1.5:1:6867)
        at HTMLFormElement.<anonymous> (https://emelieart.com/wp-content/plugins/woocommerce-square/assets/js/frontend/wc-square.min.js?ver=2.1.5:1:2552)
        at HTMLFormElement.dispatch (https://emelieart.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp:3:12369)
        at HTMLFormElement.r.handle (https://emelieart.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp:3:9088)
        at Object.trigger (https://emelieart.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp:3:11488)
        at Object.a.event.trigger (https://emelieart.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1:2:8275)
        at a.fn.init.triggerHandler (https://emelieart.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp:3:18949)
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there @deepaksaini6413,

    I’m sorry to hear that you’re having issues with Square payments! I can’t replicate it on my test site so I assume there is something on yours creating a conflict.
     
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce and Square
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Enjoy the rest of your day and stay safe!

    Thread Starter deepaksaini6413

    (@deepaksaini6413)

    Hi,

    I found out there is a plugin WPBakery Page Builder by which I got this error.
    When I deactivated this plugin above issues got out.

    But I have to keep this plugin too.

    Is there a way to resolve this?

    If yes, please let me know

    Many Thanks,

    Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    That JS error coming from that plugin is not something that we can resolve on our end. You can likely contact the developer of that plugin for more help in figuring out why that plugin is causing this.

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

The topic ‘Uncaught FormNotReadyError: Cannot call SqPaymentForm#requestCardNonce before th’ is closed to new replies.