auto tax
parent
65938e3147
commit
1518563b72
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue