Knowledgebase

PayPal REST + Webhooks Setup

Use PayPal REST client credentials + webhook signature verification.

2025-12-22 updated 1 min read Support ready
Quick steps
  • PAYPAL_MODE=live
  • PAYPAL_CLIENT_ID=...
  • PAYPAL_CLIENT_SECRET=...
  • Create a webhook in PayPal Developer Dashboard
  • Endpoint URL: https://YOURDOMAIN.TLD/paypal/webhook
  • Copy the webhook ID into PAYPAL_WEBHOOK_ID

ServerTick supports PayPal REST checkout.

What you need:
- PAYPAL_MODE=live
- PAYPAL_CLIENT_ID=...
- PAYPAL_CLIENT_SECRET=...

Webhooks:
- Create a webhook in PayPal Developer Dashboard
- Endpoint URL: https://YOURDOMAIN.TLD/paypal/webhook
- Copy the webhook ID into PAYPAL_WEBHOOK_ID

Recommended events:
- CHECKOUT.ORDER.APPROVED
- CHECKOUT.ORDER.COMPLETED
- PAYMENT.CAPTURE.COMPLETED
- PAYMENT.CAPTURE.DENIED
- PAYMENT.CAPTURE.REVERSED
- PAYMENT.CAPTURE.REFUNDED
- CHECKOUT.ORDER.CANCELLED

If webhooks do not confirm:
- Verify PAYPAL_WEBHOOK_ID
- Confirm your server can reach api-m.paypal.com (outbound)
- Confirm TRUST_PROXY is set if behind a reverse proxy

Discord