#yilber
1 messages · Page 1 of 1 (latest)
I'm reading the documentation and I have questions about the line_items parameter. Should the items I send be previously created in stripe? or could they be my system's own ids? The idea is to be able to send different products and create a single payment to charge the customer.
invoices API doesn't have a line_items parameter? What docs are you looking at?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That's checkout session API
Are you talking about post payment invoices with Checkout?
I want to generate a payment to collect from the client, we currently use billing but we want to change to payments
I see. Do you plan on re-using these line items for a different checkout? If so, I'd recommend creating products/prices on Stripe and passing the IDs to line items array
If not, you could create products/prices in-line.