#admiralking_invoices-dynamic-prices
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/1489341798756126780
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello ๐
The Stripe Invoice Items API requires the use of Prices and Products. This is not something we are planning on changing. What is the use case you have for this flow?
my invoices are variable all the time so i cant make products, so the integration doesnt help me at all unfortunately
The reason I ask is we have another product, Stripe Checkout, that allows you to dynamically provide price_data and product_data instead of creating Products and Prices.
Checkout can also be configured to generate an Invoice for your Customers upon successful payment.
The line_items.price_data parameter allows you to specify the pricing details rather than create a Price object.
I guess my question was more focused on why you are choosing to use Invoices. If it's for the line items (which Checkout supports) or for other reasons.
im just following how i do it manually, i get an invoice from a vendor, i go to the customer, manually create it line by line (we mark them up 20%) and then send that invoice to client.... its super manual and that is what im trying to automate
Right, so my question is do you NEED to use an Invoice object? Checkout seems like it would support this flow much better. What are the constraints that make you try to use Invoices?
im unsure of checkout, i would have to take a look at that
That is what I recommend, unless you have specific reasons to use Invoices.
ok ill look into that, appreciate the guidance!
admiralking_invoices-dynamic-prices
Sure thing, happy to help ๐