Pass your Paddle webhook notifications to multiple different applications based on subscription_plan_id
.
- Fork this repository.
- Clone the repository.
- Update the
config.json
file with your mappings, here's an example:
{
"mappings": {
"12345": "https://myapp.com/paddle/webhook"
}
}
You should use the "Plan ID" as the key and set the value to your application's webhook route.
- Deploy your repository to Vercel.
- Configure Paddle to point to your new Vercel project. (Deployed to https://paddle-demultiplexer-nine.vercel.app via command line)
If any updates are made in the future, you can use GitHub's "Fetch upstream" functionality to update your repository and re-deploy.