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/config/ninja.php b/config/ninja.php index 47c255d61031..29eeb1c5adbd 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -30,7 +30,7 @@ return [ 'phantomjs_key' => env('PHANTOMJS_KEY', false), 'phantomjs_secret' => env('PHANTOMJS_SECRET', false), - 'sentry_dsn' => env('SENTRY_LARAVEL_DSN', 'https://b36c3ae4f26b45689bc3d4e3774fb303@sentry.invoicing.co/4'), + 'sentry_dsn' => env('SENTRY_LARAVEL_DSN', 'https://9b4e15e575214354a7d666489783904a@sentry.invoicing.co/6'), 'environment' => env('NINJA_ENVIRONMENT', 'selfhost'), // 'hosted', 'development', 'selfhost', 'reseller' // Settings used by invoiceninja.com 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