0.9.1 Hotfix (#717)

This commit is contained in:
Dennis 2023-02-06 10:53:32 +01:00 committed by GitHub
commit 0b173fb428
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,6 @@ function getConfig()
"RoutesIgnoreCsrf" => [ "RoutesIgnoreCsrf" => [
"payment/StripeWebhooks", "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') || config('SETTINGS::PAYMENTS:STRIPE:ENDPOINT_TEST_SECRET') && config('SETTINGS::PAYMENTS:STRIPE:TEST_SECRET') && env("APP_ENV") === "local",
]; ];
} }