Title: Uncaught PayPalHttp\HttpException
Last modified: February 16, 2020

---

# Uncaught PayPalHttp\HttpException

 *  Resolved [Ambyomoron](https://wordpress.org/support/users/josiah-s-carberry/)
 * (@josiah-s-carberry)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncaught-paypalhttphttpexception/)
 * Following the upgrade to version 2.1.62, the following error occurred after clicking
   on the button to pay for an event via PayPal:
 * Fatal error: Uncaught PayPalHttp\HttpException: {“error”:”invalid_client”,”error_description”:”
   Client Authentication failed”} in /blahblah/wp-content/plugins/events-made-easy/
   payment_gateways/paypal/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpClient.php:
   215 Stack trace: #0 /blahblah/wp-content/plugins/events-made-easy/payment_gateways/
   paypal/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpClient.php(100): PayPalHttp\
   HttpClient->parseResponse(Object(PayPalHttp\Curl)) #1 /blahblah/wp-content/plugins/
   events-made-easy/payment_gateways/paypal/lib/PayPalCheckoutSdk/Core/AuthorizationInjector.
   php(37): PayPalHttp\HttpClient->execute(Object(PayPalCheckoutSdk\Core\AccessTokenRequest))#
   2 /blahblah/wp-content/plugins/events-made-easy/payment_gateways/paypal/lib/PayPalCheckoutSdk/
   Core/AuthorizationInjector.php(29): PayPalCheckoutSdk\Core\AuthorizationInject
   in /blahblah/wp-content/plugins/events-made-easy/payment_gateways/paypal/vendor/
   paypal/paypalhttp/lib/PayPalHttp/HttpClient.php on line 215

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

 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncaught-paypalhttphttpexception/#post-12442615)
 * I just tested an event on my public website with the update and paypal: no issues…
   are your paypal settings correct?
    Since it is “Client Authentication failed”
   it seems something is wrong with your credentials.
 *  Thread Starter [Ambyomoron](https://wordpress.org/support/users/josiah-s-carberry/)
 * (@josiah-s-carberry)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncaught-paypalhttphttpexception/#post-12442917)
 * I entered a new set of credentials after double-checking with the PayPal setup.
   
   Now, when I click on the button to pay using PayPal (after having successfully
   registered for an event), the button goes into a “clicked” style, but nothing
   else happens. No error messages, no record at Paypal of any payment…
 * By the way, in setting up PayPal, is there any need to set a webhook or a Live
   Return URL?
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncaught-paypalhttphttpexception/#post-12443034)
 * The “new” paypal method seems unloved by even paypal itself: for webhooks I would
   need to use the “old” library, which is stupid of course. I’m under the impression
   that Paypal is not really actively maintaining its php lib.
    For your problem:
   if the button goes to a clicked style but nothing happens, some javascript issue
   is probably the cause. Your browser console might help you here. It might even
   be that some other application has the paypal lib too which might interfere …
 *  Thread Starter [Ambyomoron](https://wordpress.org/support/users/josiah-s-carberry/)
 * (@josiah-s-carberry)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncaught-paypalhttphttpexception/#post-12445322)
 * Thanks for the hint. It turned out the error was due to a misconfigured Content
   Security Policy.

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

The topic ‘Uncaught PayPalHttp\HttpException’ is closed to new replies.

 * ![](https://ps.w.org/events-made-easy/assets/icon-256x256.png?rev=1856035)
 * [Events Made Easy](https://wordpress.org/plugins/events-made-easy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-made-easy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-made-easy/)
 * [Active Topics](https://wordpress.org/support/plugin/events-made-easy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-made-easy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-made-easy/reviews/)

## Tags

 * [paypal](https://wordpress.org/support/topic-tag/paypal/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ambyomoron](https://wordpress.org/support/users/josiah-s-carberry/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/uncaught-paypalhttphttpexception/#post-12445322)
 * Status: resolved