Browse Source

fix: 🚑️ Stripe extensions enable flag

IceToast 2 years ago
parent
commit
b7a765bd8c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Extensions/PaymentGateways/Stripe/config.php

+ 1 - 1
app/Extensions/PaymentGateways/Stripe/config.php

@@ -10,6 +10,6 @@ function getConfig()
         "RoutesIgnoreCsrf" => [
             "payment/StripeWebhooks",
         ],
-        "enabled" => config('SETTINGS::PAYMENTS:STRIPE:SECRET') && config('SETTINGS::PAYMENTS:STRIPE:CLIENT_ID'),
+        "enabled" => config('SETTINGS::PAYMENTS:STRIPE:SECRET') && config('SETTINGS::PAYMENTS:STRIPE:ENDPOINT_SECRET'),
     ];
 }