Replies: 1 comment 2 replies
-
Ya, you could do something like this in your controller: return Receiver::driver($provider)
->receive($request);
return response()->json(... whatever you want here ...); Basically it just ignores whatever happens and responds. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I might be missing it, but it seems like Receiver is best suited for handling webhooks asynchronously. Is there any way to return any custom response back to the caller? Everything I do leaves me with a blank json object?
I think it's ok if so, I can handle things asyc (even better really) but in some cases, I might want to handle sync and reply back with a payload of the action that took place.
Beta Was this translation helpful? Give feedback.
All reactions