diffInmonthlies Method not exists
SyedSohail9t5 opened this issue · 2 comments
SyedSohail9t5 commented
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"
lucasdotvin commented
Hey! Thanks for reporting this bug! Could you show an example of the code you're using? 🚀
SyedSohail9t5 commented
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 ).