| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
yarn devOpen http://localhost:3000 with your browser to see the result.
stripe loginstripe listen --forward-to localhost:3000/api/webhooks/stripeSTRIPE_WEBHOOK_SECRET=whsec_xxxxx
STRIPE_SECRET_KEY=sk_test_xxxxx
NEXT_PUBLIC_APP_URL=http://localhost:3000In a new terminal, you can trigger test events:
# Test successful subscription
stripe trigger checkout.session.completed
# Test subscription cancellation
stripe trigger customer.subscription.deletedUse these cards in test mode:
To learn more about Next.js, take a look at the following resources:
The easiest way to deploy your Next.js app is to use the Vercel Platform.
| Back | FazBrowse Home | New Git URL |