You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,11 @@ This package will not handle what should be done after the webhook request has b
13
13
14
14
Before using this package we highly recommend reading [the entire documentation on webhooks over at Mailgun](https://documentation.mailgun.com/en/latest/api-webhooks.html).
15
15
16
-
This package is an almost line-to-line adapted copy of absolutely amazing [spatie/laravel-stripe-webhooks](https://github.com/spatie/laravel-stripe-webhooks)
16
+
This package is an adapted copy of absolutely amazing [spatie/laravel-stripe-webhooks](https://github.com/spatie/laravel-stripe-webhooks)
17
+
18
+
## Upgrade
19
+
20
+
If you are upgrading from previous version, please note that spatie/laravel-webhook-client has been upgraded to ^3.0 - which adds an extra field into the webhooks table. Read [upgrading instructions](https://github.com/spatie/laravel-webhook-client/blob/main/UPGRADING.md) for more details.
17
21
18
22
## Installation
19
23
@@ -47,6 +51,9 @@ return [
47
51
*
48
52
* You can find a list of Mailgun webhook types here:
@@ -112,6 +119,8 @@ If something goes wrong during the webhook request the thrown exception will be
112
119
113
120
There are two ways this package enables you to handle webhook requests: you can opt to queue a job or listen to the events the package will fire.
114
121
122
+
**Due to the apparent differences between MailGun sandbox and production environment event casing, the package will ALWAYS cast mailgun events to lowercase - so your configured keys must be lowercase, too**
123
+
115
124
**The package does not handle legacy webhooks, as they have a different schema.** Let me know if this is something that is needed.
0 commit comments