Payments

Setting Up PayPal

Connecting PayPal to Influenzic: business account credentials, sandbox testing, and going live.

Influenzic’s PayPal gateway uses the PayPal Orders API v2. Users can pay via their PayPal wallet or with a credit/debit card through PayPal’s hosted checkout.

Requirements

  • A PayPal Business account (not a personal account)
  • Your business account must be verified and have the ability to receive payments

Step 1: Create a PayPal App

  1. 1
    Log in to the PayPal Developer Dashboard at developer.paypal.com.
  2. 2
    Navigate to My Apps & Credentials.
  3. 3
    Select Live tab (or Sandbox for testing).
  4. 4
    Click Create App, give it a name (e.g. “Influenzic”), and select your business account.
  5. 5
    Copy the Client ID and Secret.

Step 2: Configure in Influenzic

  1. 1
    Navigate to Influenzic → Settings → PayPal.
  2. 2
    Paste your Client ID and Secret.
  3. 3
    Select Sandbox for testing or Live for production.
  4. 4
    Save settings.

Step 3: Set Up Webhooks

  1. 1
    In the PayPal Developer Dashboard, navigate to your app and click Add Webhook.
  2. 2
    Set the URL to: https://yourdomain.com/wp-json/influenzic/v1/webhook/paypal
  3. 3
    Select these events: CHECKOUT.ORDER.APPROVED, PAYMENT.CAPTURE.COMPLETED, PAYMENT.CAPTURE.DENIED.
  4. 4
    Copy the Webhook ID and paste it into Influenzic → Settings → PayPal → Webhook ID.
Sandbox testing: PayPal provides sandbox buyer/seller accounts in the Developer Dashboard under Sandbox → Accounts. Use these to simulate full payment flows without real money.

Was this article helpful?