From dfe66559dc595a4eee1b58fea79507277a9b962b Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 9 Oct 2022 12:32:27 +1100 Subject: [PATCH 1/2] Fixes for Forte --- app/PaymentDrivers/Forte/CreditCard.php | 2 +- .../views/portal/ninja2020/gateways/forte/ach/pay.blade.php | 6 +++--- .../ninja2020/gateways/forte/credit_card/pay.blade.php | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/PaymentDrivers/Forte/CreditCard.php b/app/PaymentDrivers/Forte/CreditCard.php index 88d8007780d2..6558d2fe5915 100644 --- a/app/PaymentDrivers/Forte/CreditCard.php +++ b/app/PaymentDrivers/Forte/CreditCard.php @@ -82,7 +82,7 @@ class CreditCard $this->forte->payment_hash->data = array_merge((array) $this->forte->payment_hash->data, $data); $this->forte->payment_hash->save(); - $data['gateway'] = $this; + $data['gateway'] = $this->forte; return render('gateways.forte.credit_card.pay', $data); } diff --git a/resources/views/portal/ninja2020/gateways/forte/ach/pay.blade.php b/resources/views/portal/ninja2020/gateways/forte/ach/pay.blade.php index 5dbb93fbd246..88b209798220 100644 --- a/resources/views/portal/ninja2020/gateways/forte/ach/pay.blade.php +++ b/resources/views/portal/ninja2020/gateways/forte/ach/pay.blade.php @@ -1,14 +1,14 @@ @extends('portal.ninja2020.layout.payments', ['gateway_title' => 'Bank Transfer', 'card_title' => 'Bank Transfer']) @section('gateway_head') - + @endsection @section('gateway_content')
@csrf - + @@ -43,7 +43,7 @@ @endsection @section('gateway_footer') - @if($gateway->forte->company_gateway->getConfigField('testMode')) + @if($gateway->company_gateway->getConfigField('testMode')) @else diff --git a/resources/views/portal/ninja2020/gateways/forte/credit_card/pay.blade.php b/resources/views/portal/ninja2020/gateways/forte/credit_card/pay.blade.php index 1cceb137f39c..1e20311e7c45 100644 --- a/resources/views/portal/ninja2020/gateways/forte/credit_card/pay.blade.php +++ b/resources/views/portal/ninja2020/gateways/forte/credit_card/pay.blade.php @@ -1,7 +1,7 @@ @extends('portal.ninja2020.layout.payments', ['gateway_title' => ctrans('texts.payment_type_credit_card'), 'card_title' => ctrans('texts.payment_type_credit_card')]) @section('gateway_head') - + @@ -14,7 +14,7 @@ - + @@ -41,7 +41,7 @@ @endsection @section('gateway_footer') - @if($gateway->forte->company_gateway->getConfigField('testMode')) + @if($gateway->company_gateway->getConfigField('testMode')) @else From e24bb1598bf0d9341f1dbd147eb1b7a1fd2fdd2e Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 9 Oct 2022 12:32:54 +1100 Subject: [PATCH 2/2] V5.5.30 --- VERSION.txt | 2 +- config/ninja.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index ee46351da47b..4c04b5719d54 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.5.29 \ No newline at end of file +5.5.30 \ No newline at end of file diff --git a/config/ninja.php b/config/ninja.php index de1fd38ad08e..8abbc7510ba6 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -14,8 +14,8 @@ return [ 'require_https' => env('REQUIRE_HTTPS', true), 'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'), - 'app_version' => '5.5.29', - 'app_tag' => '5.5.29', + 'app_version' => '5.5.30', + 'app_tag' => '5.5.30', 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', ''),