Skip to content

Commit

Permalink
Collect Stripe Tax (#2378)
Browse files Browse the repository at this point in the history
  • Loading branch information
PopDaph authored Nov 3, 2023
1 parent a0d105a commit 7a86e41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions front/lib/plans/stripe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ export const createCheckoutSession = async ({
},
line_items: [item],
billing_address_collection: "auto",
automatic_tax: {
enabled: true,
},
success_url: `${URL}/w/${owner.sId}/subscription?type=succeeded&session_id={CHECKOUT_SESSION_ID}`,
cancel_url: `${URL}/w/${owner.sId}/subscription?type=cancelled`,
});
Expand Down

0 comments on commit 7a86e41

Please sign in to comment.