#pghdeveloper - products on the fly

1 messages · Page 1 of 1 (latest)

robust bramble
#

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

patent jay
#

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

robust bramble
#

Each invoice item would be the sub items

#

The total would show at the bottom

patent jay
#

but would there be a main item?

robust bramble
#

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

patent jay
#

when you say hosted invoice page, you mean on the Stripe side?

robust bramble
patent jay
#

We want Stripe to create the invoices, but the actual invoice document, we may have to create ourselves because we want the invoice to look a specific way.

#

Do you have insurance companies as your customer?