Webhook Integrations: Connecting ChargePanda to Zapier, Make, and n8n
Every time a customer buys, activates a license, or renews a subscription, you probably want to do something: add them to your email list, ping your team Slack channel, update a CRM record, or trigger an onboarding sequence. ChargePanda's webhook system makes all of this straightforward.
How ChargePanda webhooks work
When an event occurs, ChargePanda POSTs a JSON payload to your configured webhook URL. Every payload is signed with HMAC-SHA256 using your webhook secret — you verify the signature before processing.
Webhooks are configured under Settings → Integrations → Webhooks. You can add multiple endpoints, and choose which events each endpoint receives.
Available webhook events
order.created— new order placed (before payment)order.paid— payment confirmedorder.refunded— refund issuedlicense.activated— customer activated a keylicense.deactivated— customer deactivated a keylicense.expired— license passed its expiry datesubscription.activated— new subscription started (including trial)subscription.renewed— subscription renewed successfullysubscription.cancelled— customer cancelledsubscription.expired— subscription lapsed (renewal failed)ticket.created— new support ticket
Connecting to Zapier
Zapier is the easiest option for no-code integrations. The setup:
- In Zapier, create a new Zap. Choose Webhooks by Zapier → Catch Hook as the trigger
- Copy the Zapier webhook URL
- In ChargePanda, add a new webhook endpoint with that URL, subscribe to
order.paid - Place a test order to send a sample payload to Zapier
- In Zapier, map the fields (customer email, product name, amount) to your action (e.g., add to Mailchimp list)
Common Zapier automations:
order.paid→ Add subscriber to ConvertKit/Mailchimp with product tagorder.paid→ Create contact in HubSpot/Pipedrive CRMorder.paid→ Post to Slack channel (#sales)subscription.cancelled→ Start win-back email sequence
Connecting to Make (formerly Integromat)
Make is more powerful than Zapier for complex logic — better for conditional routing, data transformation, and multi-step flows.
- Create a new scenario in Make
- Add a Webhooks → Custom Webhook module as the trigger
- Copy the generated webhook URL and register it in ChargePanda
- Trigger a test event so Make can infer the data structure
- Add downstream modules (Google Sheets, Airtable, Slack, etc.)
A useful Make scenario: order.paid → filter by product → if product is "Plugin License" → add to license customer tag in email platform + log to Airtable base.
Connecting to n8n (self-hosted)
n8n is the self-hosted alternative — no per-task pricing, runs on your own server alongside ChargePanda. Great for privacy-conscious setups or high-volume automation.
// n8n Webhook node configuration
{
"httpMethod": "POST",
"path": "chargepanda-order",
"responseMode": "onReceived"
}
After setting up the webhook node, you can chain it to any of n8n's 400+ built-in integrations — or write custom JavaScript for complex transformations.
Verifying webhook signatures
Always verify the HMAC signature before processing a webhook — this prevents replay attacks and spoofed payloads:
// In your webhook handler (PHP)
$signature = $_SERVER['HTTP_X_CHARGEPANDA_SIGNATURE'] ?? '';
$expected = hash_hmac('sha256', file_get_contents('php://input'), env('CHARGEPANDA_WEBHOOK_SECRET'));
if (!hash_equals($expected, $signature)) {
http_response_code(401);
exit('Invalid signature');
}
$payload = json_decode(file_get_contents('php://input'), true);
// Process $payload...
For Zapier and Make, the signature verification step is optional since those platforms add their own security layer — but it's good practice to implement it on any custom endpoint.
Automate your sales workflows with webhooks
ChargePanda's webhook system connects to any platform. Signed payloads, event filtering, and instant delivery.
See All Integrations →ChargePanda Support
ChargePanda Support is the editorial team at ChargePanda — a self-hosted platform helping developers and digital product sellers manage licensing, file delivery, subscriptions and support from one place.