1. Home
  2. Docs
  3. AcadLix
  4. E-Commerce and Monetizati...
  5. PayPal

PayPal

PayPal allows you to securely accept payments for your courses. Follow the steps below to connect your PayPal account with Acadlix.

Step 1: Log in to PayPal Developer Dashboard

Go to https://developer.paypal.com.

Login to Paypal Developer

Log in with your PayPal Business Account credentials.

Choose Live or Sandbox (Sandbox is recommended for testing).

Note: If you don’t have a Business account, upgrade your PayPal account before proceeding.

Step 2: Create REST API App

From the dashboard, click on Apps & Credentials.

Paypal Developer Loggedin 1

Now click Create App.

Create PayPal App

Enter a name for your app (e.g., Acadlix Integration).Create Paypal App 1

Click Create App.

Step 3: Get API Credentials

After creating the app, you will see:

Client ID

Secret Key

Paypal Api Credentials

Copy these values and keep them safe. You’ll need them inside the Acadlix settings.

Step 4: Enable Webhooks

Scroll down to Webhooks → Click Add Webhook.

Note: In case you have closed or navigated away from the App page, go to App and Credentials –> Your Created App

Create WebHook Paypal 1

Navigate to your website, Acadlix Settings → Payment → PayPal. Click the Copy button and navigate back to PayPal.

Acadlix Paypal settings

Paste the copied webhook URL into the box and select the Checkout Order Approved event under Checkout, and click the Create Webhook button.

Paypal webbook creation 1

IIf you are using the subscription module, enable the following additional webhook events: BILLING.SUBSCRIPTION.ACTIVATED, PAYMENT.SALE.COMPLETED, BILLING.SUBSCRIPTION.EXPIRED, BILLING.SUBSCRIPTION.CANCELLED, BILLING.SUBSCRIPTION.SUSPENDED

Keep the Webhook ID handy for Paypal configuration in Acadlix.

Paypal WebHook ID 1

Step 5: Configure PayPal in Acadlix

  1. In your WordPress dashboard, go to:
    Acadlix → Settings → Payment.

  2. Select PayPal as a payment method.

  3. Enter your:

    • Client ID

    • Secret Key

    • Mode (Sandbox for testing, Live for production).

    • Webhook id
  4. Save changes.

Step 6: Test Your Integration

  1. Switch to Sandbox mode in Acadlix.

  2. Use PayPal’s sandbox test accounts to make a dummy purchase.

  3. Confirm that the order is marked Completed inside Acadlix.

  4. Once verified, switch to Live mode for real payments.

You have successfully integrated PayPal with Acadlix!
Students can now purchase courses using PayPal.

How can we help?