diff --git a/app/PaymentDrivers/CustomPaymentDriver.php b/app/PaymentDrivers/CustomPaymentDriver.php new file mode 100644 index 000000000000..dbdb2a428b17 --- /dev/null +++ b/app/PaymentDrivers/CustomPaymentDriver.php @@ -0,0 +1,79 @@ +payment_method = $payment_method_id; + + return $this; + } + + public function processPaymentView($data) + { + + return render('gateways.custom.landing_page', $data); + + } + + public function processPaymentResponse($request) + { + + } + +} diff --git a/database/migrations/2020_08_18_140557_add_is_public_to_documents_table.php b/database/migrations/2020_08_18_140557_add_is_public_to_documents_table.php index 7cc0fbb2606d..d79529118266 100644 --- a/database/migrations/2020_08_18_140557_add_is_public_to_documents_table.php +++ b/database/migrations/2020_08_18_140557_add_is_public_to_documents_table.php @@ -15,7 +15,7 @@ class AddIsPublicToDocumentsTable extends Migration { Schema::table('documents', function (Blueprint $table) { - $table->boolean('is_public')->default(false); + $table->boolean('is_public')->default(true); }); Schema::table('backups', function (Blueprint $table) { diff --git a/resources/views/portal/ninja2020/gateways/custom/landing_page.blade.php b/resources/views/portal/ninja2020/gateways/custom/landing_page.blade.php new file mode 100644 index 000000000000..5129524a8bee --- /dev/null +++ b/resources/views/portal/ninja2020/gateways/custom/landing_page.blade.php @@ -0,0 +1 @@ +stubs \ No newline at end of file