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

  1. Visit PayPal Developer Portal
  2. 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
  3. Accept Developer Agreement
    • Read and accept the PayPal Developer Agreement
    • Verify your account if prompted

Step 2: Create a New Application

  1. Access the Developer Dashboard
    • Once logged in, you'll be in the PayPal Developer Dashboard
    • Click "Create App" button
  2. 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.
  3. 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

  1. Navigate to Your App
    • In the Developer Dashboard, click on your newly created app
    • You'll see the app details page
  2. 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

  1. Navigate to Webhooks
    • In your app details page, scroll to "Webhooks" section
    • Click "Add Webhook"
  2. 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.COMPLETED
      • PAYMENT.CAPTURE.DENIED
      • BILLING.SUBSCRIPTION.CREATED
      • etc.
  3. Save Webhook
    • Click "Save" to create the webhook
    • The webhook will appear in your webhooks list

Getting Your Webhook ID (Webhook Secret)

  1. Access Webhook Details
    • Click on the webhook you just created
    • You'll see the webhook configuration page
  2. 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:

  1. Log in to your admin dashboard
  2. Click on "Payment Gateways"
  3. Select "Paypal0"
  4. Enter the details and save changes

Please Wait!

Please wait... it will take a second!