#ram_best-practices
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/1225106498158592091
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- ram_best-practices, 1 day ago, 46 messages
You can use the upcoming invoices API to simulate the invoice of an entirely new subscription. That should give you an invoice with no proration items. Would that work for your usecase?
thanks! yes, i mentioed that but was thinking maybe there's another option too (so it's "safer" and also so I can avoid the two calls)
i noticed the billing portal shows both, and am guessing that's a common usecase
Yeah, I can definitely see that being common. I am guessing our billing portal either makes this call twice itself or is using an internal only endpoint that provides info on both. I can file feedback that this would be helpful, but at the moment the two API calls would be required.
ok, thanks ๐
my most important feedback is about supporting multiple items subscriptions in the portal, mentioned it in a previous thread too ๐
if it's ok to ask another small slightly related question please- after I call subscription update, do the customer get the invoice emailed to them immediately?
Hello! I'm taking over and catching up...
thanks ๐
If the Subscription update generates an Invoice that Invoice typically takes about an hour to finalize before being sent out, assuming you have it configured to send to the Customer.
What I mean is that you can configure Stripe to not send Invoices to Customers. See here for details, especially the last paragraph in this section: https://docs.stripe.com/invoicing/overview#invoice-lifecycle
yes i have this configured: "Send finalized invoices and credit notes to customers"
Then yep, once the Invoice is finalized it will be sent to your Customer.
that means customers get an invoice with every charge, right?
(also subscription auto renewal)
It's for every Invoice. An Invoice might have multiple charge attempts (for example, if the first payment fails and the payment is retried and then succeeds, that would be two charges).
got it, thanks!