allow coupons to be used on stripe checkout page
This commit is contained in:
parent
414d69493c
commit
165e8cc31b
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ export const stripeRouter = createTRPCRouter({
|
|||
customer: customerId,
|
||||
client_reference_id: session.user?.id,
|
||||
payment_method_types: ["card"],
|
||||
allow_promotion_codes: true,
|
||||
mode: "subscription",
|
||||
line_items: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue