Checkout page errors
-
Hi,
I am getting javascript console errors on the checkout page with latest versions of WP(5.5.1), WC(4.4.1) and this plugin (3.2.6). I have changed to 2020 theme to make sure it is not theme related and the same issue persists.It has to do with the paypal gateway that is a part of your plugin, when I add to cart and checkout with PayPal enabled I get these errors
unhandled_error {err: "Error: Window closed? at https://www.paypal.com…¤cy=AUD&vault=false&intent=capture:2:36xxx", timestamp: "1599207107526", referer: "dev.testdomain.com.au", uid: "0c0869981d_xxx", env: "production"}
andjs?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages¤cy=AUD&vault=false&intent=capture:2 Uncaught Error: Window closed at js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages¤cy=AUD&vault=false&intent=capture:2 at e.n.dispatch (js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages¤cy=AUD&vault=false&intent=capture:2) at e.n.then (js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages¤cy=AUD&vault=false&intent=capture:2) at xe (js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages¤cy=AUD&vault=false&intent=capture:2) at js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages¤cy=AUD&vault=false&intent=capture:2 at e.n.dispatch (js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages¤cy=AUD&vault=false&intent=capture:2) at e.n.resolve (js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages¤cy=AUD&vault=false&intent=capture:2) at e.n.dispatch (js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages¤cy=AUD&vault=false&intent=capture:2) at e.n.resolve (js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages¤cy=AUD&vault=false&intent=capture:2) at js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages¤cy=AUD&vault=false&intent=capture:2
If I reload the cart page the console errors disappear. I’m not sure if these errors will stop a checkout, they do break other parts of my site though due to it being JS issues.
Any ideas on how this error can be resolved?
I have this running on a dev setup if that’s any help.Thanks
Nik
- The topic ‘Checkout page errors’ is closed to new replies.