Skip to content

Commit dcb3480

Browse files
authored
Update STRIPE_SETUP.md
1 parent a9e87d4 commit dcb3480

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

STRIPE_SETUP.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,7 @@ This guide explains how to set up Stripe subscriptions for the Workouts applicat
99

1010
## Environment Variables
1111

12-
Add the following environment variables to your `.env` file in the app directory:
13-
14-
```bash
15-
# Stripe API keys
16-
STRIPE_PUBLISHABLE_KEY=pk_test_your_publishable_key
17-
STRIPE_SECRET_KEY=sk_test_your_secret_key
18-
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret
19-
20-
# Supabase Service Role Key (for webhook operations)
21-
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
22-
SUPABASE_URL=your_supabase_url
23-
```
12+
Set up the Stripe environment variables in your `.env` file (based on `.env.example` if needed.)
2413

2514
> Note: For backward compatibility, the application also supports the legacy `VITE_` prefixed versions of these variables, but the non-prefixed versions are recommended.
2615
@@ -126,4 +115,4 @@ Before going live:
126115
### Subscription Issues
127116
- Validate that the product and price IDs are correct
128117
- Check the Stripe dashboard for subscription status
129-
- Look for error logs in your application server
118+
- Look for error logs in your application server

0 commit comments

Comments
 (0)