Skip to content

Commit 6d1ad9f

Browse files
committed
[server] Enable automatic tax on new Stripe subscriptions
1 parent fe168f0 commit 6d1ad9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/server/ee/src/user/stripe-service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ export class StripeService {
171171
await this.getStripe().subscriptions.create({
172172
customer: customer.id,
173173
items: [{ price: priceId }],
174+
automatic_tax: { enabled: true },
174175
billing_cycle_anchor: Math.round(startOfNextMonth.getTime() / 1000),
175176
});
176177
}

0 commit comments

Comments
 (0)