Steps to Get PayPal Client ID and Secret Key #
You can generate your PayPal Client ID and Secret Key by creating an app from your PayPal Developer account.
- Go to the PayPal Developers Website
Open the PayPal Developers Website.
- Login to the Dashboard
Log in using your PayPal account.
You can log in with your mobile number using OTP and complete your profile by adding basic details.
- Access the Dashboard
Click on your Name in the top right corner, then select Dashboard.
- Create a New App
Click Create App and fill in the required details to set up your new app.
- Retrieve Client ID and Secret Key
After creating the app, you will be redirected to a page where you can view your PayPal Client ID and Secret Key.
- PayPal API Host
Use the following API host: https://api-m.paypal.com
Important Notes #
- Make sure you use your keys in Live Mode on PayPal.
- If you have issues with PayPal recognizing your API keys, try the following troubleshooting steps:
- Double-check your keys
Ensure you copied the keys correctly without extra spaces or characters. - Use the correct environment
PayPal has different API keys for Sandbox and Live environments. Make sure you are using the right set. - Check permissions
Verify that the necessary permissions are enabled for your API keys. - Contact PayPal Support
If issues persist, contact PayPal Support for further assistance.
- Double-check your keys