• Resolved sangemaru

    (@sangemaru)


    This error is reminiscent of a similar issue appearing in the official Stripe Gateway extension (and the reason we switched to XAdapter.

    On the first attempt to check out using Stripe, the button sometimes works. On reload of the checkout page or adding other products to cart (append ?add-to-cart=9202 to url for example), the Pay With Stripe button works with unvalidated fields (prompting validation) but refuses to do anything with fully completed fields.

    Developer tools console shows the following:

    checkout.js?ver=4.9.1:1 Uncaught TypeError: Cannot read property ‘target’ of undefined
    at IframeView.close (checkout.js?ver=4.9.1:1)
    at IframeView.eval [as close] (checkout.js?ver=4.9.1:1)
    at eval (checkout.js?ver=4.9.1:1)
    at Checkout.invokeCallbacks (checkout.js?ver=4.9.1:1)
    at Checkout.eval [as invokeCallbacks] (checkout.js?ver=4.9.1:1)
    at XMLHttpRequest.eval (checkout.js?ver=4.9.1:1)

    We use WordPress 4.9.1, Plugin version 3.0.7, Divi Theme version 3.0.95

    • This topic was modified 6 years, 3 months ago by sangemaru.

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

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pay With Stripe button doesn’t work, throws TypeError’ is closed to new replies.