Closed Reached closed 4 years ago
Hi @Reached,
Thanks for the ❤️ !
Cashier Mollie is not a 1:1 port of Cashier Stripe. The downloadInvoice
method for example is not available in this package.
You could access the same functionality using:
$order->invoice()->download();
Feel free to submit a PR to add the downloadInvoice
method on the billable trait. I'm closing this issue for now, let me know if it should be reopened.
Thanks for getting back to me @sandervanhooft ! I might make a PR for that, and thanks again for making this package :)
No problem, enjoy!
Running into the same issue with Spark Mollie now, so preparing a patch for this.
https://github.com/laravel/cashier-mollie/commit/f1b2d86ae865140abce2c2b130c451bf0018e2d4
Will be included in next release (later this week probably)
Amazing, well done once again @sandervanhooft :)
Hi there,
Great job on this package!
I am trying to download invoices for my users, however I keep getting undefined method downloadInvoice. Anything obvious I am missing here?
Function to call the invoice download:
This is my user model where I include the trait: