Always 2 calls in case of fail or succeed #123
Unanswered
marionfromfrance
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everybody,
I'm a beginner in webhooks and there is something I don't understand, maybe somebody will be able to help me. When I call my code with WebhookCall::create()->aso, and log into my events listeners, I always see two calls (not 3 as specified in the configuration file). Here are the dumps of event class name and event response status for succeeded call:
^ "Spatie\WebhookServer\Events\WebhookCallSucceededEvent"
^ 200
^ "Spatie\WebhookServer\Events\WebhookCallSucceededEvent"
^ 200
And here are dumps for failed calls:
^ "Spatie\WebhookServer\Events\WebhookCallFailedEvent"
^ 404
^ "Spatie\WebhookServer\Events\WebhookCallFailedEvent"
^ 404
I'm using PHP7 and Laravel 8
Any ideas?
Thank you very much,
Marion
Beta Was this translation helpful? Give feedback.
All reactions