|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/___pospro/superadmin.balancebizness.com/database/seeders/ |
Upload File : |
<?php
namespace Database\Seeders;
use App\Models\Gateway;
use Illuminate\Database\Seeder;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
class CinetpaySeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$gateways = array(
array('name' => 'Cinetpay','currency_id' => 117,'mode' => 'Live','status' => '1','charge' => 0,'image' => NULL,'data' => '{"api_key":"151988674667f4a553afdc29.60411499","site_id":"105891707"}','manual_data' => NULL,'is_manual' => '0','accept_img' => '0','namespace' => 'App\\Library\\Cinetpay', 'phone_required' => 0, 'instructions' => NULL, 'created_at' => '2024-02-18 17:45:52','updated_at' => '2024-02-18 17:54:44'),
);
Gateway::insert($gateways);
}
}