From 5aede4e36fc3e2199f61c80a0e5f4acdbae65741 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 1 Jul 2024 15:13:58 +1000 Subject: [PATCH] Updates for new payment flow --- .../components/livewire/invoice-pay.blade.php | 4 +- .../livewire/payment_method-flow2.blade.php | 44 ++++++++++++++++++- .../stripe/credit_card/livewire_pay.blade.php | 8 ++-- 3 files changed, 49 insertions(+), 7 deletions(-) diff --git a/resources/views/portal/ninja2020/components/livewire/invoice-pay.blade.php b/resources/views/portal/ninja2020/components/livewire/invoice-pay.blade.php index 17d9283670ee..45903241f9d7 100644 --- a/resources/views/portal/ninja2020/components/livewire/invoice-pay.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/invoice-pay.blade.php @@ -1,9 +1,9 @@
-
+
@livewire('invoice-summary',['context' => $context])
-
+
@livewire($this->component,['context' => $context], key($this->componentUniqueId()))
diff --git a/resources/views/portal/ninja2020/components/livewire/payment_method-flow2.blade.php b/resources/views/portal/ninja2020/components/livewire/payment_method-flow2.blade.php index 0afae15540ec..464e9f4fefb8 100644 --- a/resources/views/portal/ninja2020/components/livewire/payment_method-flow2.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/payment_method-flow2.blade.php @@ -1,10 +1,50 @@
@foreach($methods as $index => $method) - @endforeach + + @script + + @endscript
\ No newline at end of file diff --git a/resources/views/portal/ninja2020/gateways/stripe/credit_card/livewire_pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/credit_card/livewire_pay.blade.php index 0f594b6b5951..3b2478d1466e 100644 --- a/resources/views/portal/ninja2020/gateways/stripe/credit_card/livewire_pay.blade.php +++ b/resources/views/portal/ninja2020/gateways/stripe/credit_card/livewire_pay.blade.php @@ -33,10 +33,10 @@ @include('portal.ninja2020.gateways.includes.payment_details') @component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.pay_with')]) -
    +
      @if(count($tokens) > 0) @foreach($tokens as $token) -
    • +