Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eahefnawy/serverless-stripe-webhook

:credit_card: Serverless Module that creates a webhook for Stripe.
https://github.com/eahefnawy/serverless-stripe-webhook

Last synced: 29 days ago
JSON representation

:credit_card: Serverless Module that creates a webhook for Stripe.

Awesome Lists containing this project

README

        

# 💳 serverless-stripe-webhook

In your Serverless project root directory, run:

```
sls module install https://github.com/eahefnawy/awsm-stripe-webhook
```

open `/back/modules/sl-stripe-webhook/lib/index.js` and add your callback code. This is the code that will handle the webhook.

when you're done, deploy with:

```
sls function deploy
sls endpoint deploy
```
After deployment, add this webhook URL to Stripe: `/webhooks/stripe`, and test it out!