main
alex 2024-02-18 16:09:29 +01:00
parent 65938e3147
commit 1518563b72
1 changed files with 4 additions and 0 deletions

View File

@ -124,6 +124,10 @@ export async function CreateCheckoutSession(priceId: string, userId: string) {
metadata: { metadata: {
userId: userId, userId: userId,
}, },
automatic_tax: {
// see https://dashboard.stripe.com/settings/tax
enabled: true,
},
}); });
await UserPendingPayment.create({ await UserPendingPayment.create({