First, run the development server:
npm run dev
# or
yarn dev
and
stripe listen --forward-to localhost:3000/api/webhooks
Open http://localhost:3000 with your browser to see the result.
STRIPE_API_KEY= NEXT_PUBLIC_STRIPE_PUBLIC_KEY= STRIPE_WEBHOOK_SECRET= STRIPE_SUCCESS_URL= http://localhost:3000/posts STRIPE_CANCEL_URL= http://localhost:3000/
FAUNADB_KEY=
GITHUB_CLIENT_ID= GITHUB_CLIENT_SECRET=
PRISMIC_ACCESS_TOKEN= PRISMIC_ENTRY_POINT=
[stripe listen --forward-to localhost:3000/api/webhooks]