diff --git a/app/Livewire/Flow2/ProcessPayment.php b/app/Livewire/Flow2/ProcessPayment.php index 6feac3848654..febffee97b21 100644 --- a/app/Livewire/Flow2/ProcessPayment.php +++ b/app/Livewire/Flow2/ProcessPayment.php @@ -59,7 +59,7 @@ class ProcessPayment extends Component 'frequency_id' => false, 'remaining_cycles' => false, 'is_recurring' => false, - 'hash' => false, + // 'hash' => false, ]; $responder_data = (new LivewireInstantPayment($data))->run(); diff --git a/app/Services/ClientPortal/LivewireInstantPayment.php b/app/Services/ClientPortal/LivewireInstantPayment.php index 328293248541..fb650380c06c 100644 --- a/app/Services/ClientPortal/LivewireInstantPayment.php +++ b/app/Services/ClientPortal/LivewireInstantPayment.php @@ -274,8 +274,6 @@ class LivewireInstantPayment if (isset($this->data['hash'])) { $hash_data['billing_context'] = Cache::get($this->data['hash']); - } elseif ($this->data['hash']) { - $hash_data['billing_context'] = Cache::get($this->data['hash']); } elseif ($old_hash = PaymentHash::query()->where('fee_invoice_id', $first_invoice->id)->whereNull('payment_id')->orderBy('id', 'desc')->first()) { if (isset($old_hash->data->billing_context)) { $hash_data['billing_context'] = $old_hash->data->billing_context; 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 58c249541363..0afae15540ec 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,7 +1,7 @@ -
+
@foreach($methods as $index => $method) - 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 79bc7b5cb47d..0f594b6b5951 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 @@ -1,4 +1,4 @@ -
+
@if($stripe_account_id) @@ -72,6 +72,225 @@ @endassets - @vite('resources/js/clients/payments/stripe-credit-card.js') + @script + + @endscript
\ No newline at end of file