#joyful_tiger_02190
1 messages · Page 1 of 1 (latest)
If the line_items are a mix of payment and subscription items, then the server crashes, or returns an error.
Can you share more details here? If you have a request where this returned an error, please share a request ID here
You should be able to create Sessions in subscription mode that include one-time prices. Those one-time prices will be on the first invoice only: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-line_items
Thank you roadrunner_stripe. I just tested, and indeed you can include one-time payment line_items in stripe.checkout.sessions.create in 'subscription' mode. I was under the impression that all line items had to be of one type or the other, since that is the behavior of the function in 'payment' mode. Thanks again.
Happy to help!