This happens in createPayment.php called from the javascript payment function. Everything is there, just changed the client id and secret from sandbox to production, and changed in javascript env variable from sandbox to production. Have no idea whats wrong and how to get more deeper error description. Don't know where to ask. Sandbox tested and working. Created another app, same problem. } catch (PayPal\Exception\PayPalConnectionException $ex) { error_log('PayPalConnectionException'); error_log($ex->getData()); } [04-Jun-2018 19:34:51 Europe/Berlin] PayPalConnectionException [04-Jun-2018 19:34:51 Europe/Berlin] {"error":"invalid_client","error_description":"Client Authentication failed"}
... View more