diff --git a/app/PaymentDrivers/GoCardless/InstantBankPay.php b/app/PaymentDrivers/GoCardless/InstantBankPay.php index 9133a47a68a3..624f04eebe7c 100644 --- a/app/PaymentDrivers/GoCardless/InstantBankPay.php +++ b/app/PaymentDrivers/GoCardless/InstantBankPay.php @@ -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 ); diff --git a/database/migrations/2024_08_26_055523_add_qb_product_hash.php b/database/migrations/2024_08_26_055523_add_qb_product_hash.php index 5bbd59e8e30c..b9860f5aacdd 100644 --- a/database/migrations/2024_08_26_055523_add_qb_product_hash.php +++ b/database/migrations/2024_08_26_055523_add_qb_product_hash.php @@ -1,5 +1,6 @@ symbol = 'лв'; $currency->save(); } + + if($gateway = Gateway::find(15)) + { + $gateway->visible = 0; + $gateway->save(); + } } /** diff --git a/database/seeders/PaymentLibrariesSeeder.php b/database/seeders/PaymentLibrariesSeeder.php index d85f47b782b3..49c49e87b44e 100644 --- a/database/seeders/PaymentLibrariesSeeder.php +++ b/database/seeders/PaymentLibrariesSeeder.php @@ -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]);