How to Connect PayPal
Add PayPal as an additional payment option for clients who prefer PayPal checkout
Step 1: Go to your admin dashboard and click "Settings"
Step 2: Click on the "Profile" tab
Step 3: Scroll down to the "Payment Processing" section
Step 4: Find the "PayPal Integration" section
Step 5: You'll need a PayPal Business account (not a personal account)
Step 6: Log in to your PayPal Developer Dashboard at developer.paypal.com
Step 7: Create a new app or use an existing one
Step 8: Copy your Client ID and Client Secret from PayPal
Step 9: In Classta, paste your PayPal Client ID and Client Secret into the respective fields
Step 10: Choose your environment:
- Sandbox: For testing (use test credentials)
- Live: For real payments (use production credentials)
Step 11: Click "Save" to connect PayPal
Step 12: After saving, your unique Webhook URL will be automatically generated and displayed in the PayPal Webhook Configuration section
Step 13: Configure the PayPal Webhook (Important):
- Copy the webhook URL that appears in your Classta settings (it will look like:
https://yourdomain.com/api/webhooks/paypal/[unique-id]) - Go back to your PayPal Developer Dashboard
- Navigate to your app settings
- Find the "Webhooks" section
- Click "Add Webhook" or "Edit" if you already have one
- Paste the webhook URL from Classta
- Select these event types (both are required):
- CHECKOUT.ORDER.APPROVED
- PAYMENT.CAPTURE.COMPLETED
- Save the webhook configuration
Why the webhook matters: The webhook ensures that bookings are completed automatically even if a client closes their browser after approving payment on PayPal. Without it, you may miss bookings if the client doesn't complete the redirect back to your site.
PayPal will now appear as a payment option alongside Stripe on your booking pages
Note: You can use both Stripe and PayPal simultaneously, giving clients more payment options