Files
myeasycms-v2/apps/web/content/docs/001-getting_started/003-running-the-application/003-stripe-cli.mdx
giancarlo bce3479368 Cleanup
2024-03-24 02:23:22 +08:00

20 lines
539 B
Plaintext

---
title: Running the Stripe CLI for Webhooks
label: Stripe
description: How to run the Stripe CLI for Webhooks in a local development environment
---
Run the Stripe CLI with the following command:
```bash
npm run stripe:listen
```
#### Add the Stripe Webhooks Key to your environment file
If this is the first time you run this command, you will need to copy the Webhooks key printed on the console and add it to your development environment variables file:
```bash title=".env.development"
STRIPE_WEBHOOKS_KEY=<PASTE_KEY_HERE>
```