• Resolved Ambyomoron

    (@josiah-s-carberry)


    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

    (@liedekef)

    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

    (@josiah-s-carberry)

    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

    (@liedekef)

    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

    (@josiah-s-carberry)

    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.