#nicm_docs
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/1230234995994398731
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
hey
To create one-off Invoices requires creating Invoice Items: https://docs.stripe.com/api/invoiceitems/create
At the very least this requires having a Product created in Stripe
You can set price_data inline when creating an Invoice Item if you want: https://docs.stripe.com/api/invoiceitems/create#create_invoiceitem-price_data
But the short answer is that yes, Invoices require the use of Products/Prices
Not sure if I understand your question around the Charges API... yes Invoices create PaymentIntents (which create Charges) but you can use both integrations if you want
๐ i think the product/prices aspect is more important and gets me most of the answer i needed
the charges question, i am still using legacy charge api with tokenized payment methods. i have seen an issue recently about payment methods setup with SetupIntent not working on manual charges and was wondering if the reverse is true. If i was able to create an invoice but the payment method for the user was setup with tokenization + customer update call, whether that would also be a problem.
i think the important takeaway for me is to try to get some of that migration to PaymentIntent + SetupIntent done first
You can still charge Card objects (what I assume you are talking about when you say "tokenization + customer update call") with Invoices via https://docs.stripe.com/api/invoices/pay#pay_invoice-payment_method
It is backward compatible
๐