2023-01-21 00:04:23 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Extensions\PaymentGateways\Stripe;
|
|
|
|
|
|
|
|
function getConfig()
|
|
|
|
{
|
|
|
|
return [
|
|
|
|
"name" => "Stripe",
|
|
|
|
"description" => "Stripe payment gateway",
|
|
|
|
"RoutesIgnoreCsrf" => [
|
|
|
|
"payment/StripeWebhooks",
|
|
|
|
],
|
2023-01-23 15:57:28 +00:00
|
|
|
"enabled" => config('SETTINGS::PAYMENTS:STRIPE:SECRET') && config('SETTINGS::PAYMENTS:STRIPE:CLIENT_ID'),
|
2023-01-21 00:04:23 +00:00
|
|
|
];
|
|
|
|
}
|