From 6f136132c42c4e6a19b057a2f0ec55269cc600d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Thu, 7 Oct 2021 16:22:16 +0200 Subject: [PATCH] Migration --- .../migrations/2021_10_07_141737_razorpay.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 database/migrations/2021_10_07_141737_razorpay.php diff --git a/database/migrations/2021_10_07_141737_razorpay.php b/database/migrations/2021_10_07_141737_razorpay.php new file mode 100644 index 000000000000..7c397489153e --- /dev/null +++ b/database/migrations/2021_10_07_141737_razorpay.php @@ -0,0 +1,28 @@ +name = 'Razorpay'; + $gateway->key = Str::lower(Str::random(32)); + $gateway->provider = 'Razorpay'; + $gateway->is_offsite = false; + $gateway->fields = new \stdClass; + $gateway->visible = true; + $gateway->site_url = 'https://razorpay.com'; + $gateway->default_gateway_type_id = GatewayType::HOSTED_PAGE; + $gateway->save(); + } +}