#supercodepoet

1 messages · Page 1 of 1 (latest)

eager summitBOT
potent jasper
#

Good question, thinking about what you can do here. To confirm, this subscription was active and was accidentally given a trial in the middle of some active period?

steady ravine
#

yes, the subscription was charged and made active

#

it was then mistakenly given a trial period cause teh customer indicated payment issues and the trial was added to give more time

#

but the payment issue was cleared up by our support and was fine

#

so it was a miscommunication on our end

#

the only thing I could think of doing was giving a full year trial period cause removing the trial will charge the payment

#

but that really messes up what the customer sees in the Customer Portal

#

it will look like they are on trial even though they paid for the year

#

it would be really helpful to rollback/remove that the trial every happened

potent jasper
#

Unfortunately there isn't a way to rollback or revert updates like that as far as I am aware. I think the easiest way would be to update the subscription, set trial end to a few seconds in the future, specify proration_behavior: "create_prorations" and then delete the invoice items from that update/proration

#

Oh wait, but that would still mess up the billing cycle anchor. It would set it to essentially now so the subscription would cycle a year from now rather than a year from when they initially subscribed.

#

I will ask my colleagues for the best way forward here and get back to you

#

@steady ravine a colleague brought up that you can set trial_end to when the subscription would have cycled otherwise if the subscription's specific status does not matter

#

And another idea that I had is that you can create a new subscription that is backdated to when this one last cycled and delete the current one