Closed siprasaloni closed 4 years ago
when i swap the plan i got error Call to a member function handle() on null (vendor/laravel/cashier-mollie/src/Subscription.php:446)
return $subscription->plan()->orderItemPreprocessors()->handle($item);
but swapNextCycle() working perfectly.
can you please let me know what is the cause. i am using laravel 6
Seems like the orderItemPreprocessors() call is returning null. Are you perhaps using a customized Plan/Planrepository?
hey you are right! i have fixed this. thank you for your time.
when i swap the plan i got error Call to a member function handle() on null (vendor/laravel/cashier-mollie/src/Subscription.php:446)
return $subscription->plan()->orderItemPreprocessors()->handle($item);
but swapNextCycle() working perfectly.
can you please let me know what is the cause. i am using laravel 6