#geordi-subscriptions

1 messages · Page 1 of 1 (latest)

night bane
zenith sierra
#

Sure thing: req_VqtcWkcGv6Xv26

night bane
#

hrm, so based off this request, you're backdating the start date to Thu Jun 09 2022 00:00:00. Then the trial end is Sat Sep 09 2023 00:00:00, and the billing cycle anchor is set to Fri Jun 09 2023 00:00:00

zenith sierra
#

Aw, wrong request

#

req_ifYMRkbeSr3mtp

#

Sorry!

night bane
#

np

zenith sierra
#

First was me trying a work around

night bane
#

gimme a while to think about this

zenith sierra
#

No worries - context: wanting to give three free months to a subscription where the customer has already been paying for a year or so, so wanting to compensate on an existing billing period

night bane
#

okay so, the problem is with the inclusion of the trial

#

when you use the trial, the billing cycle end date is set to the trial end date

#

so when you set a billing cycle anchor, the billing cycle anchor > trial end date - which is why it's complaining "billing_cycle_anchor cannot be later than next natural billing date"

#

so assuming that i understand what you want correctly :

  1. backdate to June 9 2022
  2. trial ends on Sept 9 2022
  3. then you want the current billing cycle to end on June 9 2023
zenith sierra
#

I think this is the case, yes

night bane
#

phase 1 : first create the subscription with 1 &2. In phase 2 (when the trial ends), then update the billing cycle anchor

zenith sierra
#

But then they would still pay the same on June 9th 2023 right?

#

so not really being compensated?

night bane
#

i don't think so, if you prorate the update, they should be paying less

zenith sierra
#

Ahhh Okay so the next billing date would be less, but the following would restore to the original amount?

night bane
#

if you're asking if they'll be billed the full price in 2024 - yes

zenith sierra
#

Yep, nice - will give this a shot - thanks!

night bane
#

feel free to reach out again if you need any help or if what i suggest doesn't work for any reason. subscriptions are complex

zenith sierra
#

Will do, thanks a bunch!

night bane
#

@zenith sierra sorry, i was just testing things again, actually your original idea of using trial end with billing cycle anchor would work fine and you shouldn't use subscription schedules

#

the problem with req_VqtcWkcGv6Xv26 is that your trial_end unix timestamp is wrong

#

try trial_end=1662681600, billing_cycle_anchor=1686268800, backdate_start_date=1654732800