are you using valid credentials?
I did notice that that package is marked as deprecated, so if its a new install you might be better off looking at https://github.com/srmklive/laravel-paypal
I am using this composer require paypal/rest-api-sdk-php. I put below code in .env file.
PAYPAL_MODE=sandbox
PAYPAL_SANDBOX_CLIENT_ID=dummyIDfornow
PAYPAL_SANDBOX_SECRET=dummysecretfornow
I put below code in config/paypal.php file
'sandbox_client_id' => env('PAYPAL_SANDBOX_CLIENT_ID', 'dummyIDfornow'),
'sandbox_secret' => env('PAYPAL_SANDBOX_SECRET', 'dummysecretfornow'),
I am getting below error.
You do not have permissions to make this API call
https://i.stack.imgur.com/yp1tc.png
How to debug this situation ?
Please or to participate in this conversation.