PayPal
LicenseDock integrates with PayPal for one-time and recurring payments.
Setup
- Create a PayPal Developer account
- Create an app in the PayPal Developer Dashboard to get your credentials
- In Joomla admin, go to Components → LicenseDock → Settings → Gateways
- Enter your PayPal credentials:
- Sandbox Client ID
- Sandbox Secret
- Live Client ID
- Live Secret
- Set the mode to Sandbox or Live
Webhook Setup
Webhooks let PayPal notify your store about payment events.
- In the PayPal Developer Dashboard, go to your app settings
- Under Webhooks, click Add Webhook
- Enter your webhook URL:
https://yoursite.com/api/index.php/v1/licensedock/webhooks/paypal - Select the relevant event types
How Payments Work
- One-time: Customer approves the payment on PayPal, then returns to your site
- Recurring: PayPal charges the customer automatically on each billing cycle and notifies your store