Skip to content

PayPal

Integrate PayPal with Sngine in a few easy steps.

Create the PayPal app

  1. Go to https://developer.paypal.com/developer/applications/ and sign in with your PayPal account
  2. Now under Testing Tools click Sandbox Accounts then click on Create Account button and Create new Business (Merchant Account) and fill the form then repeat the same process for Personal (Buyer Account)

    Now under Testing Tools click Sandbox Accounts then click on Create Account button and Create new Business (Merchant…

    Now under Testing Tools click Sandbox Accounts then click on Create Account button and Create new Business (Merchant…

  3. Both accounts will be linked with your new PayPal app for Sandbox Mode
  4. Click My Apps & Credentials

    Click My Apps & Credentials

    Click My Apps & Credentials

Add the webhook

  1. Go to your PayPal App and add new webhook, Webhook URL should be like this:

    If you installed Sngine in your domain directly like www.domain.com the URI should be like this:
    https://www.domain.com/webhooks/paypal_subscriptions.php

    If you installed Sngine in your domain directly but without www like domain.com the URI should be like this:
    https://domain.com/webhooks/paypal_subscriptions.php

    If you installed Sngine in sub-domain like sub.domain.com the URI should be like this:
    https://sub.domain.com/webhooks/paypal_subscriptions.php

    If you installed Sngine in a directory like domain.com/directory the URI should be like this:
    https://www.domain.com/directory/webhooks/paypal_subscriptions.php

    If you installed Sngine in a directory like domain.com/directory the URI should be like this…

    If you installed Sngine in a directory like domain.com/directory the URI should be like this…

    If you installed Sngine in a directory like domain.com/directory the URI should be like this…

    If you installed Sngine in a directory like domain.com/directory the URI should be like this…

  2. Also make sure that your app has subscriptions enabled

    Also make sure that your app has subscriptions enabled

Copy your credentials into Sngine

  1. Now if you will use PayPal in Sandbox (Test) Mode Copy Client ID and Secret

    Now if you will use PayPal in Sandbox (Test) Mode Copy Client ID and Secret

  2. For Live Mode Copy Client ID and Secret from Live Tab

    For Live Mode Copy Client ID and Secret from Live Tab

  3. Go to your Sngine Admin Panel → Settings → Payments Settings and paste both Client ID and Secret and select the mode you want Test or Live

    Go to your Sngine Admin Panel → Settings → Payments Settings and paste both Client ID and Secret and select the mode you…