#Daniel-checkout

1 messages · Page 1 of 1 (latest)

winter narwhal
#

hi! you'd just a line_item with a one time Price when creating the CheckoutSession.

hidden summit
#

Oh, so it's possible to add it from code

#

We just have the link straight to stripe checkout

winter narwhal
#

as in, you generated a PaymentLink from the dashboard? As far as I know those are only for a single Price at a time so you can't have them charge for multiple things

hidden summit
#

We use ```php
\Stripe\Checkout\Session::create

winter narwhal
#

ok, confused by your ' just have the link straight to stripe checkout' line then

But yeah if you're creating the Session in code it's really easy to just add an extra line item for a one-time Price. Give it a try

wicked meadow
hidden summit
#

Oh I see, let me take a look. You've been amazing! Thanks so much.

winter narwhal
#

oh neat, I didn't know we documented that explicitly somewhere

wicked meadow
#

Yeah it's pretty new!

hidden summit
#

Again, thanks a bunch guys! You've all been a blessing :)