Closed gogl92 closed 7 months ago
I can create a pull request to solve this issue
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
Can we reopen this issue? I'm also having trouble using a different model that extends the WebhookCall
.
When trying to use this package with MongoDB I tried to override the model
WebhookCall
as stated in the documentation, but I face issues because of the return typesThis issue is being thrown while trying to implement Laravel Stripe Webhooks but this is the root cause
So I think that the way to solve this issue is to have an Interface that the model use will implement, and the extension validates that this models are instances of this class, it will work as a contract (
WebhookCallContract
?) and the return types needed will use this instead of the model.Methods can be added to this class if needed like:
This way we allow the package to be more extendable.