-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toNestpayPaymentObject not found in the model #3
Comments
Hi Bojan, |
Hello Doncho, The command and service provider need to be reorganized a bit, we are planning an upgrade to support Laravel 9 wich is LTS version, really soon. And going to fix all reported issues. |
As for the quick fix, just pass your model without calling ->toNestpayPaymentObject() method as Martin suggested earlier in the comments. |
Hi Aleksandar , Thank you very much for your response. It will be nice also to show up some example with the controllers and etc.. looking forward for the update. |
Hello Doncho, there are stubs for controllers inside the package, you could publish them over command: In the README.md there is a section "Laravel resources (config, controllers, views , etc)" and quick manual on how you could use published stubs. |
Hi @donchoborisov, No I didn't. But using this package logic I managed to write my own NestPayService class. If you don't come up with a solution, mention me here I will share my code with you. (The working code is laravel version 8.12) |
Hi @bojmaliev thank you very much for your response. I did manage to get the code working but some small errors :) But yeah I would like to see your class if you are happy to share of course. Thank you very much in advance. |
Here I faced an Exception because the method doesnt exists.
I simply passed the whole $unprocessedPaymentModel and is worked fine.
nestpay/src/Laravel/NestpayHandleUnprocessedPaymentsCommand.php
Line 74 in 80bdd6b
The text was updated successfully, but these errors were encountered: