mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01:00
Remove paypal express, omnipay
This commit is contained in:
parent
b58e5f5bb7
commit
565a4d377d
@ -105,6 +105,9 @@ class InstantBankPay implements MethodInterface
|
||||
$this->go_cardless->payment_hash->data->billing_request
|
||||
);
|
||||
|
||||
nlog($billing_request);
|
||||
|
||||
|
||||
$payment = $this->go_cardless->gateway->payments()->get(
|
||||
$billing_request->payment_request->links->payment
|
||||
);
|
||||
|
@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Gateway;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
@ -25,6 +26,12 @@ return new class extends Migration
|
||||
$currency->symbol = 'лв';
|
||||
$currency->save();
|
||||
}
|
||||
|
||||
if($gateway = Gateway::find(15))
|
||||
{
|
||||
$gateway->visible = 0;
|
||||
$gateway->save();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -105,7 +105,7 @@ class PaymentLibrariesSeeder extends Seeder
|
||||
|
||||
Gateway::query()->update(['visible' => 0]);
|
||||
|
||||
Gateway::whereIn('id', [1, 3, 7, 11, 15, 20, 39, 46, 55, 50, 57, 52, 58, 59, 60, 62, 63])->update(['visible' => 1]);
|
||||
Gateway::whereIn('id', [1, 3, 7, 11, 20, 39, 46, 55, 50, 57, 52, 58, 59, 60, 62, 63])->update(['visible' => 1]);
|
||||
|
||||
if (Ninja::isHosted()) {
|
||||
Gateway::whereIn('id', [20, 49])->update(['visible' => 0]);
|
||||
|
Loading…
Reference in New Issue
Block a user