#pghdeveloper - products on the fly
1 messages · Page 1 of 1 (latest)
Hi there. One moment
You can create multiple invoice items, specifying the amount: https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-amount. No need to use a price object. Then, once you've created all the invoice items for the customer, you just create the invoice: https://stripe.com/docs/api/invoices/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Can it be set up where you have the main item with the price of 240 dollars for example, and then underneath that main item are the sub items with the sub item name and its price. The price will end up being equal to 240.
Just to give you a heads up, I work in the insurance industry
but would there be a main item?
No there's not really a way to have one main item and have other items underneath it
For the hosted invoice page that is. If you build out your own payment page, you can display items however you want
That would require a developer
when you say hosted invoice page, you mean on the Stripe side?
Yeah. You asked about creating invoices, so I was assuming you were talking about our Invoice product: https://stripe.com/invoicing