mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-06 11:07:30 +02:00
💳 Support payments with Stripe (#822)
This commit is contained in:
parent
969ae35971
commit
6f425edeaa
20 changed files with 712 additions and 229 deletions
8
packages/backend/stripe.ts
Normal file
8
packages/backend/stripe.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
import Stripe from "stripe";
|
||||
|
||||
export type { Stripe } from "stripe";
|
||||
|
||||
export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY as string, {
|
||||
apiVersion: "2023-08-16",
|
||||
typescript: true,
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue