Browse Source

fix: 🚑️ Stripe extensions enable flag

IceToast 2 năm trước cách đây
mục cha
commit
b7a765bd8c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'),
     ];
 }