Title: Checkout button is causing javascript error and says loading&#8230;
Last modified: October 18, 2023

---

# Checkout button is causing javascript error and says loading…

 *  Resolved [ptllc](https://wordpress.org/support/users/ptllc/)
 * (@ptllc)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/checkout-button-is-causing-javascript-error-and-says-loading/)
 * Uncaught (in promise) TypeError: Cannot read properties of undefined (reading‘
   forEach’)
   at s.value (paypal-commerce.js?ver=3.0.1:1:30541)at n.dispatch (js?
   client-id=AcmowTtrzRbUEix0yWxGlep2D0-Z41MOocWAMVkL8aQ7jlESp5_W8uP15VTf6aGh19TO0HJaWvWB7E2N&
   merchant-id=7KVM8PWLYENQL&components=buttons,hosted-fields&disable-funding=credit&
   intent=capture&vault=false&currency=USD:3:68222)at n.reject (js?client-id=AcmowTtrzRbUEix0yWxGlep2D0-
   Z41MOocWAMVkL8aQ7jlESp5_W8uP15VTf6aGh19TO0HJaWvWB7E2N&merchant-id=7KVM8PWLYENQL&
   components=buttons,hosted-fields&disable-funding=credit&intent=capture&vault=
   false&currency=USD:3:67707)at js?client-id=AcmowTtrzRbUEix0yWxGlep2D0-Z41MOocWAMVkL8aQ7jlESp5_W8uP15VTf6aGh19TO0HJaWvWB7E2N&
   merchant-id=7KVM8PWLYENQL&components=buttons,hosted-fields&disable-funding=credit&
   intent=capture&vault=false&currency=USD:3:68008
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcheckout-button-is-causing-javascript-error-and-says-loading%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * (@matheusfd)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/checkout-button-is-causing-javascript-error-and-says-loading/#post-17134247)
 * Hi, [@ptllc](https://wordpress.org/support/users/ptllc/).
 * I’m glad you reached out. I can certainly help you.
 * I accessed your site and after filling in my details, it worked as expected. 
   You can see my screenshot here [https://pasteboard.co/JgADavsIgWQ2.png](https://pasteboard.co/JgADavsIgWQ2.png).
 * Am I missing something? If I am, I’ll need you to clarify what steps I should
   take to replicate and the the issue you are facing. Otherwise, I’m relatively
   stuck.
 * Looking forward to helping you get to the bottom of this!
 *  Plugin Support [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * (@matheusfd)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/checkout-button-is-causing-javascript-error-and-says-loading/#post-17160724)
 * Hi, [@ptllc](https://wordpress.org/support/users/ptllc/).
 * It’s been a while since we’ve heard back, and I know troubleshooting needs a 
   little extra time. I’m marking this as resolved for now, but if you still have
   questions, you can send them along right here, and I’ll be happy to hop back 
   in.
 * Have a great day!

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

The topic ‘Checkout button is causing javascript error and says loading…’ is closed
to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

## Tags

 * ["js error"](https://wordpress.org/support/topic-tag/js-error/)
 * [authorized](https://wordpress.org/support/topic-tag/authorized/)

 * 2 replies
 * 2 participants
 * Last reply from: [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/checkout-button-is-causing-javascript-error-and-says-loading/#post-17160724)
 * Status: resolved