lucasdotvin/laravel-soulbscription

diffInmonthlies Method not exists

SyedSohail9t5 opened this issue · 2 comments

I'm using this package with laravel 9 and when I try to subscribe to any plan it return with error "diffInmonthlies Method not exists"

Hey! Thanks for reporting this bug! Could you show an example of the code you're using? 🚀

Thanks @lucasdotvin for responding, I got it fixed. the issue was I was storing periodicity_type as monthly and yearly, this was causing the issue. I think you should make it enum ( month, year ).