Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

A simple serverless function to demultiplex Paddle webhooks.

Notifications You must be signed in to change notification settings

kurucu/paddle-demultiplexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paddle Demultiplexer

Pass your Paddle webhook notifications to multiple different applications based on subscription_plan_id.

Installation

  1. Fork this repository.
  2. Clone the repository.
  3. 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.

  1. Deploy your repository to Vercel.
  2. Configure Paddle to point to your new Vercel project. (Deployed to https://paddle-demultiplexer-nine.vercel.app via command line)

Updating

If any updates are made in the future, you can use GitHub's "Fetch upstream" functionality to update your repository and re-deploy.

About

A simple serverless function to demultiplex Paddle webhooks.

Resources

Stars

Watchers

Forks

Packages

No packages published