Title: Error loading paypal SDK message
Last modified: January 23, 2024

---

# Error loading paypal SDK message

 *  Resolved [ab](https://wordpress.org/support/users/maml/)
 * (@maml)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-loading-paypal-sdk-message/)
 * Hi, I’m having the error on the cart and checkout pages of my site when trying
   to use paypal as a payment method, I am using sandbox mode.
 * See screenshot here [https://attar.boutique/wp-content/uploads/2024/01/screenshot-1.jpg](https://attar.boutique/wp-content/uploads/2024/01/screenshot-1.jpg)
 * I have read other posts online saying this could be a caching issue, but I always
   had this issue from when I enabled paypal payments. I have also excluded checkout
   pages from my caching plugin and the error still shows.
 * Can any help with this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-loading-paypal-sdk-message%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [sheerid](https://wordpress.org/support/users/sheerid/)
 * (@sheerid)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-loading-paypal-sdk-message/#post-17366111)
 * Hi [@maml](https://wordpress.org/support/users/maml/)
 * Make sure you connected the PayPal account to your Braintree account within the
   Braintree dashboard.
 * If you haven’t done that, it can cause that error message.
 * Kind Regards
 *  Thread Starter [ab](https://wordpress.org/support/users/maml/)
 * (@maml)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-loading-paypal-sdk-message/#post-17366125)
 * Hi thanks for the reply,the paypal and braintree accounts are already connected
   so the issue must be something else.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-loading-paypal-sdk-message/#post-17366151)
 * Hi [@maml](https://wordpress.org/support/users/maml/)
 * Upon closer inspection of the script which loads PayPal, the following error 
   is encountered:
 *     ```wp-block-code
       throw new Error("SDK Validation error: 'client-id not recognized for either production or sandbox: m2nfzpx8g9sdcfdc'" );
   
       /* Original Error:
   
       client-id not recognized for either production or sandbox: m2nfzpx8g9sdcfdc (debug id: 020b312565092)
   
       */
       ```
   
 * It looks like the client ID you have entered in the Braintree dashboard is incorrect.
 * Kind Regards
 *  Thread Starter [ab](https://wordpress.org/support/users/maml/)
 * (@maml)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-loading-paypal-sdk-message/#post-17366162)
 * Thank you guys, it turned out i hadnt put in the sandbox paypal email. Issue 
   is resolved now

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

The topic ‘Error loading paypal SDK message’ 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/)

 * 4 replies
 * 3 participants
 * Last reply from: [ab](https://wordpress.org/support/users/maml/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/error-loading-paypal-sdk-message/#post-17366162)
 * Status: resolved