Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(with-stripe-typescript): Update README demo link #53662

Merged
merged 4 commits into from Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/with-stripe-typescript/README.md
Expand Up @@ -11,7 +11,7 @@ This is a full-stack TypeScript example using:

## Demo

- [Live demo](https://nextjs-typescript-react-stripe-js.vercel.app)
- [Live demo](https://nextjs-with-stripe-typescript-demo.vercel.app)
- [Guide](https://vercel.com/guides/getting-started-with-nextjs-typescript-stripe)

The demo is running in test mode -- use `4242424242424242` as a test card number with any CVC + future expiration date.
Expand Down
4 changes: 4 additions & 0 deletions examples/with-stripe-typescript/lib/stripe.ts
Expand Up @@ -5,4 +5,8 @@ import Stripe from 'stripe'
export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY as string, {
// https://github.com/stripe/stripe-node#configuration
apiVersion: '2022-11-15',
appInfo: {
name: 'nextjs-with-stripe-typescript-demo',
url: 'https://nextjs-with-stripe-typescript-demo.vercel.app'
}
})