From aa12278d7cf8073c5f311d2e7ae7ad7e3eadf08f Mon Sep 17 00:00:00 2001 From: Kishan Patel Date: Mon, 25 Apr 2022 13:49:17 +0530 Subject: [PATCH] apiLoginId added. --- database/migrations/2022_04_14_121548_forte_payment_gateway.php | 1 + .../portal/ninja2020/gateways/forte/ach/authorize.blade.php | 2 +- .../ninja2020/gateways/forte/credit_card/authorize.blade.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/database/migrations/2022_04_14_121548_forte_payment_gateway.php b/database/migrations/2022_04_14_121548_forte_payment_gateway.php index b45b6d109cc2..93268ed7ad38 100644 --- a/database/migrations/2022_04_14_121548_forte_payment_gateway.php +++ b/database/migrations/2022_04_14_121548_forte_payment_gateway.php @@ -18,6 +18,7 @@ class FortePaymentGateway extends Migration { $fields = new \stdClass; $fields->testMode = false; + $fields->apiLoginId = ""; $fields->apiAccessId = ""; $fields->secureKey = ""; $fields->authOrganizationId = ""; diff --git a/resources/views/portal/ninja2020/gateways/forte/ach/authorize.blade.php b/resources/views/portal/ninja2020/gateways/forte/ach/authorize.blade.php index 2506d1086c9a..586e5f374071 100644 --- a/resources/views/portal/ninja2020/gateways/forte/ach/authorize.blade.php +++ b/resources/views/portal/ninja2020/gateways/forte/ach/authorize.blade.php @@ -117,7 +117,7 @@ var routing_number=document.getElementById('routing-number').value; var data = { - api_login_id: 'D4A18FE6DC', + api_login_id: '{{$gateway->getConfigField("apiAccessId")}}', account_number: account_number, routing_number: routing_number, account_type: "checking", diff --git a/resources/views/portal/ninja2020/gateways/forte/credit_card/authorize.blade.php b/resources/views/portal/ninja2020/gateways/forte/credit_card/authorize.blade.php index 67bad76fc8ae..540067e6eb6e 100644 --- a/resources/views/portal/ninja2020/gateways/forte/credit_card/authorize.blade.php +++ b/resources/views/portal/ninja2020/gateways/forte/credit_card/authorize.blade.php @@ -108,7 +108,7 @@ document.getElementById('expire_month').value=month; var data = { - api_login_id: 'D4A18FE6DC', + api_login_id: '{{$gateway->getConfigField("apiLoginId")}}', card_number: cc, expire_year: year, expire_month: month,