From a5d8a300b1cc834ceb07de2a7262281688b0eabf Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 1 Oct 2022 12:10:07 +1000 Subject: [PATCH] Logging for wepay --- resources/js/clients/payments/wepay-credit-card.js | 2 -- .../ninja2020/gateways/wepay/credit_card/pay.blade.php | 1 - resources/views/portal/ninja2020/layout/app.blade.php | 3 ++- resources/views/portal/ninja2020/layout/payments.blade.php | 7 ++++--- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/resources/js/clients/payments/wepay-credit-card.js b/resources/js/clients/payments/wepay-credit-card.js index c9496428db9a..f754010aaf26 100644 --- a/resources/js/clients/payments/wepay-credit-card.js +++ b/resources/js/clients/payments/wepay-credit-card.js @@ -77,7 +77,6 @@ class WePayCreditCard { client_address['country'] = document.querySelector(['meta[name=country_code']).content; if(document.querySelector(['meta[name=country_code']).content == 'US'){ - console.log("country code is US"); client_address['postal_code'] = document.querySelector(['meta[name=client-postal-code']).content; } @@ -128,7 +127,6 @@ class WePayCreditCard { client_address['country'] = document.querySelector(['meta[name=country_code']).content; if(document.querySelector(['meta[name=country_code']).content == 'US'){ - console.log("country code is US"); client_address['postal_code'] = document.querySelector(['meta[name=client-postal-code']).content; } diff --git a/resources/views/portal/ninja2020/gateways/wepay/credit_card/pay.blade.php b/resources/views/portal/ninja2020/gateways/wepay/credit_card/pay.blade.php index 7a61be519bfa..87a3d3a10195 100644 --- a/resources/views/portal/ninja2020/gateways/wepay/credit_card/pay.blade.php +++ b/resources/views/portal/ninja2020/gateways/wepay/credit_card/pay.blade.php @@ -8,7 +8,6 @@ - diff --git a/resources/views/portal/ninja2020/layout/app.blade.php b/resources/views/portal/ninja2020/layout/app.blade.php index e2aed0225bbb..68b2b0cb0452 100644 --- a/resources/views/portal/ninja2020/layout/app.blade.php +++ b/resources/views/portal/ninja2020/layout/app.blade.php @@ -96,6 +96,7 @@ @include('portal.ninja2020.components.primary-color') +
@if(session()->has('message'))
{{ session('message') }} @@ -156,7 +157,7 @@ } @endif - +
+ \ No newline at end of file