• Resolved ab

    (@maml)


    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

    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 to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @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

    (@maml)

    Hi thanks for the reply,the paypal and braintree accounts are already connected so the issue must be something else.

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @maml

    Upon closer inspection of the script which loads PayPal, the following error is encountered:

    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

    (@maml)

    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.