#prince-subscription-update

1 messages · Page 1 of 1 (latest)

tardy idol
#

@craggy basin sorry I missed your original message

#

@craggy basin what didn't work? what's the error?

craggy basin
#

the issue is the schedule didn't work as per my requirement and if you see my original message as I want to charge the user on 1 Dec i.e 100$ as he switched but the schedule didn't work and charged the user with a default flow of 50$.

tardy idol
#

I read your requirement but I don't really understand it unfortunately

#

do you have a concrete example I can look at?

craggy basin
#

okay, let me explain again
So suppose the user has a monthly subscription of 50$ from 1 Nov. 2021 to 30th Nov. 2021 and then he switched the subscription of price 100$ of yearly subscription maybe around on 16th of Nov., 2021. So as the billing cycle changes then the immediate payment will be taken and the yearly subscription is active immediately and I don't want any proration to be calculated then the remaining 14 days of the current subscription will be wasted completely.

So my requirement is whenever the user makes a switch to another subscription like from day to monthly or monthly to yearly then first the current subscription will be completed firstly like from 1 Nov. 2021 to 30th Nov. 2021 and the switched subscription will take action after this basically on 1 Dec. 2021 with an invoice of 100$ of yearly switched subscription.

wind spindle
#

👋 I'm taking over for @tardy idol - give me a minute to catch up

craggy basin
#

sure

wind spindle
#

Do you have the subscription or subscription schedule ID that didn't work so I can take a look?

craggy basin
#

sure

#

subs id -> sub_Jszn1vnamDebx7

wind spindle
#

Thanks! Taking a look now...

#

From what I can see, you never actually updated this Subscription schedule - do you have the request ID for when you updated it?

craggy basin
#

no i guess i don't have request id

craggy basin
wind spindle
#

Yeah, I only see a request to create a Subscription schedule, but it was never changed