![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/inventory.corals.io/Corals/modules/Payment/update-batches/ |
<?php \Corals\Settings\Models\Setting::whereIn('code', [ 'payment_braintree_live_merchant_id', 'payment_braintree_live_public_key', 'payment_braintree_live_private_key', 'payment_braintree_sandbox_mode', 'payment_braintree_sandbox_merchant_id', 'payment_braintree_sandbox_public_key', 'payment_braintree_sandbox_private_key', 'payment_paypal_rest_live_client_id', 'payment_paypal_rest_live_client_secret', 'payment_paypal_rest_live_access_token', 'payment_paypal_rest_live_access_token_expiry', 'payment_paypal_rest_sandbox_mode', 'payment_paypal_rest_sandbox_client_id', 'payment_paypal_rest_sandbox_client_secret', 'payment_paypal_rest_sandbox_access_token', 'payment_paypal_rest_sandbox_access_token_expiry', 'payment_securionpay_live_public_key', 'payment_securionpay_live_secret_key', 'payment_securionpay_sandbox_mode', 'payment_securionpay_sandbox_public_key', 'payment_securionpay_sandbox_secret_key', 'payment_stripe_live_public_key', 'payment_stripe_live_secret_key', 'payment_stripe_live_webhook_key', 'payment_stripe_sandbox_mode', 'payment_stripe_sandbox_public_key', 'payment_stripe_sandbox_secret_key', 'payment_stripe_sandbox_webhook_key', 'supported_payment_gateway' ])->update(['category' => 'Payment']); \DB::table('permissions')->updateOrInsert(['name' => 'Payment::invoices.create',], [ 'guard_name' => config('auth.defaults.guard'), 'created_at' => \Carbon\Carbon::now(), 'updated_at' => \Carbon\Carbon::now(), ]);