#quick_subscription-invoiceitems
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1293973845115666473
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
quick_subscription-invoiceitems
Hey @vagrant zephyr I don't really understand the way you framed your question
But if what you want is to create a Subscription for example for a $10/month Price but also on the first Invoice charge an extra one-time $5 fee then yes it's easy to do with the add_invoice_items parameter, see https://stripe.com/docs/billing/invoices/subscription#first-invoice-extra
Sorry, maybe I didn't express me well.
I want to create a shopping cart that supports physical items and service subscriptions, somthing like this:
cart [Invoice]: {
item1 [InvoiceItem]: { amount: 9.99, quantity: 1 }, <- physical item
item2 [InvoiceItem]: { price: 'price_xxxxx' } <- recurring subscription
}
Yes that's exactly what the doc I linked lets you do
Ok! let me do some experiments! thank you!