laravel / cashier-mollie

MIT License
376 stars 63 forks source link

BadMethodCallException: Call to undefined method App\User::getInvoiceInformation() #62

Closed meesudzu closed 5 years ago

meesudzu commented 5 years ago

Hi, I'm start with laravel-mollie. But when I try to call $user->invoices(); It response an BadMethodCallException. Screenshot from 2019-09-18 11-27-14 I'm just a beginner with laravel-mollie and I cant find where is the support disscussion.

robindirksen1 commented 5 years ago

Did you add this trait to the user model as mentioned in the installation instructions?

Laravel\Cashier\Billable

meesudzu commented 5 years ago

Did you add this trait to the user model as mentioned in the installation instructions?

Laravel\Cashier\Billable

Sure, I follow the Setup steps, and It's in step 6.

sandervanhooft commented 5 years ago

You seem to have skipped a few steps within step 6.

meesudzu commented 5 years ago

Oh, sorry. I forget to Implement Laravel\Cashier\Order\Contracts\ProvidesInvoiceInformation interface. Mybad. Thanks for support. I'm a beginer with laravel-mollie, so is there any forums or disscussion I can find support?