#neiljondc

1 messages ยท Page 1 of 1 (latest)

eternal salmonBOT
uncut knoll
#

Yes it's possible. you can combine a subscription and one-time payment in the same checkout session.

frozen arrow
#

So I need to create a separate product then, correct?

#

And how we will do that?

uncut knoll
#

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
frozen arrow
#

I see, the checkout I'm trying to do is directly in stripe

uncut knoll
#

You mean PaymentLink?

frozen arrow
#

yep

#

interesting

#

I saw it now ๐Ÿ™‚

uncut knoll
#

Yup, you can do that with PaymentLink as well

frozen arrow
#

have to play with it for now

#

thanks for your help ๐Ÿ™‚

uncut knoll
#

welcome!