File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -57,3 +57,36 @@ class AddColumnsToWebhookCalls extends Migration
5757 }
5858}
5959```
60+
61+
62+ ### Config file changes
63+
64+ If you have published a config file previously please follow these steps:
65+
66+ 1, Update "model" to point to the following WebhookCall class:
67+
68+ ``` php
69+ /*
70+ * The classname of the model to be used. The class should equal or extend
71+ * Spatie\WebhookClient\Models\WebhookCall.
72+ */
73+ 'model' => \Spatie\WebhookClient\Models\WebhookCall::class,
74+ ```
75+
76+ 2, Add two new references for profile and verify_signature:
77+
78+ ``` php
79+ /**
80+ * This class determines if the webhook call should be stored and processed.
81+ */
82+ 'profile' => \Spatie\StripeWebhooks\StripeWebhookProfile::class,
83+
84+ /*
85+ * When disabled, the package will not verify if the signature is valid.
86+ * This can be handy in local environments.
87+ */
88+ 'verify_signature' => env('STRIPE_SIGNATURE_VERIFY', true),
89+
90+ ```
91+
92+ Please see the readme for more information on verify_signature and how its used.
You can’t perform that action at this time.
0 commit comments