Title: Checkout page errors
Last modified: September 4, 2020

---

# Checkout page errors

 *  Resolved [naresh11381](https://wordpress.org/support/users/naresh11381/)
 * (@naresh11381)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/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…&currency=AUD&vault=false&
   intent=capture:2:36xxx", timestamp: "1599207107526", referer: "dev.testdomain.
   com.au", uid: "0c0869981d_xxx", env: "production"}` and
 *     ```
       js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages&currency=AUD&vault=false&intent=capture:2 Uncaught Error: Window closed
           at js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages&currency=AUD&vault=false&intent=capture:2
           at e.n.dispatch (js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages&currency=AUD&vault=false&intent=capture:2)
           at e.n.then (js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages&currency=AUD&vault=false&intent=capture:2)
           at xe (js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages&currency=AUD&vault=false&intent=capture:2)
           at js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages&currency=AUD&vault=false&intent=capture:2
           at e.n.dispatch (js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages&currency=AUD&vault=false&intent=capture:2)
           at e.n.resolve (js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages&currency=AUD&vault=false&intent=capture:2)
           at e.n.dispatch (js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages&currency=AUD&vault=false&intent=capture:2)
           at e.n.resolve (js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages&currency=AUD&vault=false&intent=capture:2)
           at js?client-id=Acv6Sbk7cmcN0hWTOtczbnhnBNfYsl96vB44yEyypXthtC6NS9hs8KdRljCiUbWKSNfhacfiRja_3mHc&components=buttons,messages&currency=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

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

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/checkout-page-errors/#post-13362039)
 * [@naresh11381](https://wordpress.org/support/users/naresh11381/)
 * Those console errors aren’t anything to be worried about and not caused by the
   plugin but rather the new PayPal sdk.
 * If your PayPal integration is working then this is not an issue.
 * Kind regards,
 *  Thread Starter [naresh11381](https://wordpress.org/support/users/naresh11381/)
 * (@naresh11381)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/checkout-page-errors/#post-13364071)
 * It is an issue for me, these errors cause other parts of my sites js functions
   to completely break.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/checkout-page-errors/#post-13364081)
 * Hi [@naresh11381](https://wordpress.org/support/users/naresh11381/)
 * Those types of errors are being written to the console by PayPal, they are not
   fatal JavaScript errors that would impact other JS functionality.
 * You are more than welcome to share your website URL along with an explanation
   of what functionality is breaking on your site. I suspect there is some other
   JavaScript error being triggered on your page that is the culprit.
 * If you want to keep your website private please reach out to me using the help
   button which is located on all the settings pages of the plug-in.
 * Kind regards
    -  This reply was modified 5 years, 9 months ago by [Clayton R](https://wordpress.org/support/users/mrclayton/).
 *  Thread Starter [naresh11381](https://wordpress.org/support/users/naresh11381/)
 * (@naresh11381)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/checkout-page-errors/#post-13369368)
 * I’m not sure why but the issue I was having is resolved. That PayPal error is
   intermittent but not causing the same issue as before. (or as you mentioned above,
   had nothing to do with the issue). Thanks for reaching out so quickly.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/checkout-page-errors/#post-13369375)
 * [@naresh11381](https://wordpress.org/support/users/naresh11381/)
 * Thanks for providing an update and confirming your issue has been resolved.
 * Kind regards,

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

The topic ‘Checkout page errors’ is closed to new replies.

 * ![](https://ps.w.org/woo-payment-gateway/assets/icon-256x256.png?rev=2142799)
 * [Payment Plugins Braintree For WooCommerce](https://wordpress.org/plugins/woo-payment-gateway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-payment-gateway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-payment-gateway/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/checkout-page-errors/#post-13369375)
 * Status: resolved