Browse Source

Add new Stripe webhook config values

See https://github.com/laravel/cashier/pull/565
Dries Vints 1 year ago
parent
commit
568250557c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      config/services.php

+ 4 - 0
config/services.php

@@ -34,6 +34,10 @@ return [
         'model' => App\User::class,
         'key' => env('STRIPE_KEY'),
         'secret' => env('STRIPE_SECRET'),
+        'webhook' => [
+            'secret' => env('STRIPE_WEBHOOK_SECRET'),
+            'tolerance' => env('STRIPE_WEBHOOK_TOLERANCE', 300),
+        ],
     ],
 
 ];