You've already forked Atomcms-edit
High priority fixes: PayPal env(), RadioApiKey Bearer-only, User restrict, SettingsService TTL, PHPStan config, + fix 7 broke points (forceFill)
This commit is contained in:
+7
-7
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user