bpuig / laravel-subby

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

Fix new subscription with plan combination #131

Closed serdartaylan closed 2 years ago

serdartaylan commented 2 years ago

error: the subscription expiry time (ends_at) of the plan defined for the member was defined according to the main plan (table.plans) invoiceperiod and invoice interval. example main plan 1 year selected plan 3 years (combination) ends_at = now + 1year :(

fix: the subscription expiry time (ends_at) of the plan defined for the member is now defined according to the selected combination plan invoice period and invoice interval. example main plan 1 year selected plan 3 years (combination) ends_at = now + 3year :)

bpuig commented 2 years ago

Thanks, I'll take a look as soon as I can