gerardojbaez / laraplans

SaaS style recurring plans for Laravel.
http://laraplans.readthedocs.io
MIT License
180 stars 81 forks source link

How to achieve free plan with no expiration? #32

Open Yahav opened 6 years ago

Yahav commented 6 years ago

Pretty simply, many times there will be a free plan which doesn't expire and will not get any event such as payment received to trigger a renewal.

gerardojbaez commented 6 years ago

Hi, sorry for the delay. There is no way to explicitly set unlimited periods at this moment. As an alternative, you may set interval to year and interval_count to a high number like 200; this will cause the subscription to have a 200 years active period. This alternative is a workaround while the unlimited period feature is added.

Hope this helps!