Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benhalverson/stripe-demo
https://github.com/benhalverson/stripe-demo
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/benhalverson/stripe-demo
- Owner: benhalverson
- Created: 2024-04-02T08:29:46.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-23T16:25:06.000Z (7 months ago)
- Last Synced: 2024-04-23T17:58:23.531Z (7 months ago)
- Language: TypeScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```
npm install
npm run dev
``````
open http://localhost:3000
```## Download the stripe CLI
https://docs.stripe.com/stripe-cli
In another terminal run the following commands
```
stripe loginstripe listen -e checkout.session.completed --forward-to http://localhost:3000/webhook
```Use the webhook secret from the cli in the .env file