Paypal: Client Authentication Failed
问题 Trying to take my paypal REST api site live. It works well in sandbox mode, with verified transfers. When I switch my sandbox for live client ID and secret, I get the error {"error":"invalid_client","error_description":"Client Authentication failed"} I checked and made sure that my code should go live $apiContext = new \PayPal\Rest\ApiContext( new \PayPal\Auth\OAuthTokenCredential( PP_CLIENT_ID , // ClientID PP_CLIENT_SECRET // ClientSecret ) ); // setting mode to live // https://github.com