#ram_best-practices

1 messages ยท Page 1 of 1 (latest)

hoary locustBOT
#

๐Ÿ‘‹ 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.

upper stirrupBOT
#

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.

thick apex
#

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?

analog steppe
#

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

thick apex
#

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.

analog steppe
#

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?

hoary locustBOT
honest zenith
#

Hello! I'm taking over and catching up...

analog steppe
#

thanks ๐Ÿ™‚

honest zenith
#

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.

analog steppe
#

i see

#

oh i didn't know i need to configure that?

honest zenith
analog steppe
#

yes i have this configured: "Send finalized invoices and credit notes to customers"

honest zenith
#

Then yep, once the Invoice is finalized it will be sent to your Customer.

analog steppe
#

that means customers get an invoice with every charge, right?

#

(also subscription auto renewal)

honest zenith
#

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).

analog steppe
#

got it, thanks!