No matter how many times I change from Sandbox to Live, it doesnt 'stick'. I get an error: invalid_client (amongst other things) (see below). I also include the following apiContext: $apiContext->setConfig( array( 'log.LogEnabled' => true, 'log.FileName' => 'PayPal.log', 'log.LogLevel' => 'DEBUG', 'mode' => 'live' ) ); I also have business account. But no change. Am I missing a step? Thanks John http://www.freshgroundeltham.co.uk/401%7B%22error%22:%22invalid_client%22,%22error_description%22:%22Client%20Authentication%20failed%22%7Dexception%20'PayPal/Exception/PayPalConnectionException'%20with%20message%20'Got%20Http%20response%20code%20401%20when%20accessing%20https://api.paypal.com/v1/oauth2/token.'%20in%20E:/Domains/freshgroundeltham.co.uk/wwwroot/assets/paypal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConnection.php:202Stack%20trace:#0%20E:\Domains\freshgroundeltham.co.uk\wwwroot\assets\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Auth\OAuthTokenCredential.php(246):%20PayPal\Core\PayPalHttpConnection-%3Eexecute('grant_type=clie...')#1%20E:\Domains\freshgroundeltham.co.uk\wwwroot\assets\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Auth\OAuthTokenCredential.php(271):%20PayPal\Auth\OAuthTokenCredential-%3EgetToken(Array,%20'AQ-DD1L8VbwQ7W7...',%20'EGh8Uq3cd1Ya6Qf...',%20'grant_type=clie...')#2%20E:\Domains\freshgroundeltham.co.uk\wwwroot\assets\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Auth\OAuthTokenCredential.php(210):%20PayPal\Auth\OAuthTokenCredential-%3EgenerateAccessToken(Array,%20NULL)#3%20E:\Domains\freshgroundeltham.co.uk\wwwroot\assets\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Auth\OAuthTokenCredential.php(160):%20PayPal\Auth\OAuthTokenCredential-%3EupdateAccessToken(Array)#4%20E:\Domains\freshgroundeltham.co.uk\wwwroot\assets\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Handler\RestHandler.php(82):%20PayPal\Auth\OAuthTokenCredential-%3EgetAccessToken(Array)#5%20E:\Domains\freshgroundeltham.co.uk\wwwroot\assets\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Transport\PayPalRestCall.php(75):%20PayPal\Handler\RestHandler-%3Ehandle(Object(PayPal\Core\PayPalHttpConfig),%20'{%22intent%22:%22sale...',%20Array)#6%20E:\Domains\freshgroundeltham.co.uk\wwwroot\assets\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Common\PayPalResourceModel.php(104):%20PayPal\Transport\PayPalRestCall-%3Eexecute(Array,%20'/v1/payments/pa...',%20'POST',%20'{%22intent%22:%22sale...',%20NULL)#7%20E:\Domains\freshgroundeltham.co.uk\wwwroot\assets\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Api\Payment.php(577):%20PayPal\Common\PayPalResourceModel::executeCall('/v1/payments/pa...',%20'POST',%20'{%22intent%22:%22sale...',%20NULL,%20Object(PayPal\Rest\ApiContext),%20NULL)#8%20E:\Domains\freshgroundeltham.co.uk\wwwroot\payments.php(174):%20PayPal\Api\Payment-%3Ecreate(Object(PayPal\Rest\ApiContext))#9%20{main}
... View more