mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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
|
$this->go_cardless->payment_hash->data->billing_request
|
||||||
);
|
);
|
||||||
|
|
||||||
|
nlog($billing_request);
|
||||||
|
|
||||||
|
|
||||||
$payment = $this->go_cardless->gateway->payments()->get(
|
$payment = $this->go_cardless->gateway->payments()->get(
|
||||||
$billing_request->payment_request->links->payment
|
$billing_request->payment_request->links->payment
|
||||||
);
|
);
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use App\Models\Gateway;
|
||||||
use Illuminate\Database\Migrations\Migration;
|
use Illuminate\Database\Migrations\Migration;
|
||||||
use Illuminate\Database\Schema\Blueprint;
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
use Illuminate\Support\Facades\Schema;
|
use Illuminate\Support\Facades\Schema;
|
||||||
@ -25,6 +26,12 @@ return new class extends Migration
|
|||||||
$currency->symbol = 'лв';
|
$currency->symbol = 'лв';
|
||||||
$currency->save();
|
$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::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()) {
|
if (Ninja::isHosted()) {
|
||||||
Gateway::whereIn('id', [20, 49])->update(['visible' => 0]);
|
Gateway::whereIn('id', [20, 49])->update(['visible' => 0]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user