#Lockslee - Subscription Updates

1 messages · Page 1 of 1 (latest)

hollow storm
#

Hello! Not sure what you mean by non-renewing Subscriptions requiring a different key? Can you provide more details?

wispy cloak
#

hey thanks for responding. I assumed these were subscriptions that were bought but then cancelled so to not be auto renewed. but it's for subscriptions that cancel_at !== null

#

I could be doing this totally wrong as well. My ultimate goal is to change the price ID's for all customers (im reducing the price), but for annual subscribers I want to provide an additional 3 months of the service for no additional cost to offset the price change for them

#

I'm able to change the price id without issues, but I'm getting stuck at increasing the annual sub end date

hollow storm
#

I think you're on the right track; my recommendation would be to update the Subscriptions and set trial_end to cover the three free months you want to add.

wispy cloak
#

if the subscription has a cancel_at date already set, should I null that out? or just change that date as well?

hollow storm
#

That's up to you; the cancel_at property is when the Subscription will cancel itself. If you don't want that to happen you should null it out, or adjust it to be further in the future.

wispy cloak
#

ok i'll try that real quick. thanks, i'll let u know how it goes 🙂

#

yep seems to work well, thanks again!

hollow storm
#

Happy to help!

wispy cloak
#

one more question. when setting trial_end is that the number of days from today until the end date, or does it apply to the end of the invoice?

hollow storm
wispy cloak
#

oh gotcha its not a number of days its an actual end date

hollow storm
#

Yep, a date and time down to the second.

wispy cloak
#

perfect. thanks again sorry to bug