PayPal Add-ON dont work

Hi to all…

I have a problem with i try to pay over Paypal.

The splynx server return this : "Exception: Got Http response code 401 when accessing https://api.paypal.com/v1/oauth2/token. string(77) “{“error”:“invalid_client”,“error_description”:“Client Authentication failed”}”

But i check all credentials and is correct write.

Can you help me please??

thanks to all

Hi Renato,

please, check your params.php file:

“Connect to Splynx server via SSH and edit file params.php located at /var/www/splynx/addons/splynx-paypal/config.
‘splynx_url’ => ‘http://yoursplynxURL/’
‘clientId’ => ‘YOURPAYPALID’
‘clientSecret’ => ‘YOURPAYPALSECRET’”

Also check if this is production (sandbox) or not…

1 Like

Thanks to all…

The problem was i select sandbox and not live.

Thanks