#sayori_subscription-proration

1 messages ¡ Page 1 of 1 (latest)

fossil ploverBOT
#

👋 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/1291547187326488629

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

deep tapir
#

I seem to be able to set custom pricing in add_invoice_items. but I fear that if I do this, I'll end up with a billion Price items. is there a better way?

sleek moat
#

@deep tapir if you do your own proration logic and it isn't time based then you can't "report" proration. You have to disable proration entirely and an InvoiceItem yes. You can jsut use the Create InvoiceItem API in that case https://docs.stripe.com/api/invoiceitems/create

#

sayori_subscription-proration

deep tapir
#

ah, I see

#

cool let me play around with that. i'll let you know if I have any questions there. thanks for pointing me this way!

sleek moat
#

sure!

deep tapir
#

might be simpler... it supports setting a proration date different from the upgrade date itself?

sleek moat
#

yes

deep tapir
#

I'll try playing with both. this one would have to mean I have to figure out exactly which day the 'pretend proration' would be. I'll see

sleek moat
#

sounds good!