High priority fixes: PayPal env(), RadioApiKey Bearer-only, User restrict, SettingsService TTL, PHPStan config, + fix 7 broke points (forceFill)

This commit is contained in:
root
2026-06-04 20:17:45 +02:00
parent b2bb1811d0
commit 9b5c655c68
10 changed files with 36 additions and 19 deletions
+7 -7
View File
@@ -4,9 +4,9 @@ declare(strict_types=1);
return [
'sandbox' => [
'client_id' => 'test_client_id',
'client_secret' => 'test_client_secret',
'app_id' => 'APP-80W284485P519543T',
'client_id' => env('PAYPAL_SANDBOX_CLIENT_ID', ''),
'client_secret' => env('PAYPAL_SANDBOX_CLIENT_SECRET', ''),
'app_id' => env('PAYPAL_SANDBOX_APP_ID', 'APP-80W284485P519543T'),
'settings' => [
'mode' => 'sandbox',
'http.ConnectionTimeOut' => 30,
@@ -20,9 +20,9 @@ return [
],
'live' => [
'client_id' => 'test_client_id',
'client_secret' => 'test_client_secret',
'app_id' => 'AYo1u2z7N3rQ2i2b3c4d5e6f7g8h9i0j',
'client_id' => env('PAYPAL_LIVE_CLIENT_ID', ''),
'client_secret' => env('PAYPAL_LIVE_CLIENT_SECRET', ''),
'app_id' => env('PAYPAL_LIVE_APP_ID', ''),
'settings' => [
'mode' => 'live',
'http.ConnectionTimeOut' => 30,
@@ -36,7 +36,7 @@ return [
],
'settings' => [
'mode' => 'sandbox',
'mode' => env('PAYPAL_MODE', 'sandbox'),
'http.ConnectionTimeOut' => 30,
'log.LogEnabled' => false,
'log.FileName' => storage_path('logs/paypal.log'),