Frequently Asked Question
Complete Guide: Setting Up PayPal Developer Account and Getting API Credentials
Last Updated 11 months ago
Step 1: Create Your PayPal Developer Account
- Visit PayPal Developer Portal
- Go to developer.paypal.com
- Click "Log into Dashboard" in the top right corner
- Sign Up or Log In
- If you have a PayPal account: Log in with your existing credentials
- If you don't have a PayPal account: Click "Sign Up" and create a new PayPal account first
- Complete any required verification steps
- Accept Developer Agreement
- Read and accept the PayPal Developer Agreement
- Verify your account if prompted
Step 2: Create a New Application
- Access the Developer Dashboard
- Once logged in, you'll be in the PayPal Developer Dashboard
- Click "Create App" button
- Fill Out Application Details
- App Name: Enter a descriptive name for your application
- Merchant: Select your business account (or create a sandbox business account)
- Platform: Choose your platform (Web, Mobile, etc.)
- Product: Select the PayPal products you want to use:
- Checkout: For standard payments
- Subscriptions: For recurring payments
- Invoicing: For invoice management
- etc.
- Choose Environment
- Sandbox: For development and testing
- Live: For production (requires business verification)
Step 3: Get Your App ID and Client Credentials
From Your Created Application
- Navigate to Your App
- In the Developer Dashboard, click on your newly created app
- You'll see the app details page
- Find Your Credentials
- App ID: Displayed at the top of the app details
- Client ID: Found in the "REST API apps" section
- Client Secret: Click "Show" next to the Client Secret field
Understanding the Credentials
- App ID: Unique identifier for your application
- Client ID: Used for authentication (safe to expose in client-side code)
- Client Secret: Used for server-side authentication (keep confidential)
Sandbox vs Live Credentials
Sandbox Environment (Testing)
- Client ID starts with
AX...or similar - Used for development and testing
- No real money transactions
Live Environment (Production)
- Different Client ID and Secret
- Requires business account verification
- Processes real transactions
Step 4: Set Up Webhooks and Get Webhook Secret
Creating Webhook Endpoints
- Navigate to Webhooks
- In your app details page, scroll to "Webhooks" section
- Click "Add Webhook"
- Configure Webhook URL
- Webhook URL: Enter your endpoint URL (e.g.,
https://yourdomain.com/paypal/webhook) - Event types: Select the events you want to receive:
PAYMENT.CAPTURE.COMPLETEDPAYMENT.CAPTURE.DENIEDBILLING.SUBSCRIPTION.CREATED- etc.
- Webhook URL: Enter your endpoint URL (e.g.,
- Save Webhook
- Click "Save" to create the webhook
- The webhook will appear in your webhooks list
Getting Your Webhook ID (Webhook Secret)
- Access Webhook Details
- Click on the webhook you just created
- You'll see the webhook configuration page
- Find Webhook ID
- The Webhook ID serves as your webhook secret
- Copy this ID for use in your application
- It typically looks like:
WH-2WR32451HC0233532-67976317FL4543714
Next Steps
After obtaining your credentials:
- Log in to your admin dashboard
- Click on "Payment Gateways"
- Select "Paypal0"
- Enter the details and save changes