flagsmith icon indicating copy to clipboard operation
flagsmith copied to clipboard

Set up a Free Trial mechanism

Open dabeeeenster opened this issue 3 years ago • 8 comments

New accounts should have access to Scale Up features for the first 14 days of their organisation's account.

dabeeeenster avatar Dec 17 '21 10:12 dabeeeenster

Can't this just be handled in Chargebee?

matthewelwell avatar Dec 17 '21 10:12 matthewelwell

This would mean all new customers going thru the CB flow. So I don't think so. We could store the Org created data and use that to drive a segment?

dabeeeenster avatar Dec 17 '21 10:12 dabeeeenster

Hmm... I don't see how we'd make that time limited?

We could probably just create a subscription object for each organisation on signup that's not linked to CB but set the expiry date. We could have our own plan id for 'free-trial' or something. Don't think it would be too difficult.

matthewelwell avatar Dec 17 '21 13:12 matthewelwell

yep ok that sounds good - then drive a segment from that?

dabeeeenster avatar Dec 17 '21 13:12 dabeeeenster

I don't know that we should be using segments for this should we? Maybe we should. I don't quite know how you'd make sure that every user from an org with a valid subscription would be in the segment. And only in the segment for a given time period.

matthewelwell avatar Dec 17 '21 13:12 matthewelwell

I don't think this should be based on segments, the frontend can just detect free-trial expiry in the plan logic.

I guess adding a free trial plan might be quite good, but not too fussed from a frontend perspective. Maybe it's easier from an administrative perspective though?

kyle-ssg avatar Jan 06 '22 12:01 kyle-ssg

Yes agree lets go with the explicit chargebee subscription status

dabeeeenster avatar Jan 06 '22 12:01 dabeeeenster

I'll need the Chargebee subscription type/trial status before I can action this, assign this to me after we start on that.

kyle-ssg avatar Apr 23 '22 16:04 kyle-ssg