#Th3FalleN

1 messages · Page 1 of 1 (latest)

cunning gullBOT
knotty nymph
#

Hi there

broken summit
#

👋

knotty nymph
#

Can you summarize the issue?

broken summit
#

from here down summarizes it really well, #1114215149948113007 message but long short i have a subscription with a paused collection. what im trying to find a way to do is resume collection and immediately charge them a prorated amount for the remaining time in their billing cycle.

knotty nymph
#

Hmmm yeah that is going to be difficult

#

Let me see if I can figure out a way to accomplish this...

#

I think the only way to accomplish something like this would be to use an invoice preview to determine the prorated amount (https://stripe.com/docs/api/invoices/upcoming) and then charge them via a new Invoice for that amount.

broken summit
#

is there a way to possibly pause the subscription and resume it instead of pausing collections? i see an endpoint to resume but no way to pause.

knotty nymph
#

No that doesn't really exist. You would put the Sub on trial but that would move the billing cycle so doesn't really accomplish what you want.

broken summit
#

well poop, it would have been sweet if i could just unvoid the last invoice and charge it but ¯_(ツ)_/¯ thanks i'll look into your suggestion. thanks a ton

knotty nymph
#

You can keep renewal Invoices in draft if you want behavior like that, but no way to get a prorated amount here doing that.