#neiljondc
1 messages ยท Page 1 of 1 (latest)
Yes it's possible. you can combine a subscription and one-time payment in the same checkout session.
Yes. You need to create a separate product/price
{
price: 'RECURRING_PRICE',
quantity: 1
}, {
price: 'ONE_TIME_PRICE',
quantity: 1
}
]```
and pass both prices to the `line_items` array when creating a checkout session
I see, the checkout I'm trying to do is directly in stripe
You mean PaymentLink?
Yup, you can do that with PaymentLink as well
welcome!