bpuig / laravel-subby

Laravel Plan and Subscriptions manager.
https://bpuig.github.io/laravel-subby
MIT License
104 stars 42 forks source link

Handling of renewals of trials #57

Closed boryn closed 3 years ago

boryn commented 3 years ago

I still wonder how to properly handle renewals of the trial subscriptions.

Scenario:

Am I missing something? I'd rather kept the usages consumed during trial.

bpuig commented 3 years ago

Someone asked about how does it work https://github.com/rinvex/laravel-subscriptions/issues/67 in the original package, never got response. I guess we'll have to figure out and decide what's best.

In my opinion, we should be able to include the trial on the period or exclude it (pre-period).

About renewal, I guess trial ending should not renew. Package users should code a cron job that checks for ended trials and charge them. Most would be solved by having the ability of chosing wether to place the trial before the subscription period or inside the subscription period so you end up with charging the period or charging the period and giving trial as a gift.

boryn commented 3 years ago

(I think we can continue the discussion at https://github.com/bpuig/laravel-subby/issues/58)