Connect PayPal to the SLK License Manager
To accept payments via PayPal, the SLK License Manager must be linked to your PayPal account. Setup consists of three simple steps.
1. Create a PayPal app
Create a new app in the PayPal Developer Dashboard:
Then click on Create App, select the type Merchant and copy your Client ID and your Client Secret.
2. Enter PayPal data in WordPress
In the WordPress backend, navigate to:
SLK License Manager → Settings → Payments → PayPal
Enter your PayPal app details there. Then click on „Connect Account“, to start the OAuth flow.
3. Confirm connection
After successful registration, your PayPal account will be linked and the status will appear as Connected.
Setting up PayPal webhooks
Webhooks ensure that your WordPress system is notified of important events:
- Successful payments
- Failed payments
- Subscription renewals
- Terminations
- Suspensions or expiry of subscriptions
Webhook URL
Enter the following as the webhook URL in the PayPal Developer Dashboard:
https://deine-domain.de/wp-json/slk-license-manager/v1/webhooks/paypalActivate the following events:
- PAYMENT.SALE.COMPLETED
- PAYMENT.SALE.DENIED
- BILLING.SUBSCRIPTION.ACTIVATED
- BILLING.SUBSCRIPTION.CANCELLED
- BILLING.SUBSCRIPTION.SUSPENDED
- BILLING.SUBSCRIPTION.EXPIRED
- BILLING.SUBSCRIPTION.PAYMENT.FAILED
Required PayPal Services
For recurring payments and one-time payments to work, the following services must be enabled in your PayPal app:
Required services
- PayPal Checkout
- Subscriptions API
- Orders API
- Billing Agreements/Billing Plans
- Webhooks
Optional (but recommended)
- Payouts
- Disputes API
- Transaction Search API