fix: tidy stripe feature and add provider

This commit is contained in:
Mythie
2023-05-06 14:33:27 +10:00
parent 900b816ae0
commit da0166b746
9 changed files with 170 additions and 23 deletions

View File

@ -1,6 +1,6 @@
import Stripe from 'stripe';
export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {
apiVersion: "2022-11-15",
typescript: true,
});
export * from './data/plans'
export * from './fetchers/checkout-session'
export * from './fetchers/get-subscription'
export * from './fetchers/portal-session'
export * from './guards/subscriptions'
export * from './providers/subscription-provider'