From 8a217358a84b4d28497ee4f89fe7c52c36c993e4 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 15 Jun 2021 09:47:10 +1000 Subject: [PATCH] Fixes for model binding in livewire --- app/PaymentDrivers/Stripe/UpdatePaymentMethods.php | 2 +- .../gateways/wepay/signup/wepay-signup.blade.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/PaymentDrivers/Stripe/UpdatePaymentMethods.php b/app/PaymentDrivers/Stripe/UpdatePaymentMethods.php index 8d4e975796..ae8665c372 100644 --- a/app/PaymentDrivers/Stripe/UpdatePaymentMethods.php +++ b/app/PaymentDrivers/Stripe/UpdatePaymentMethods.php @@ -58,7 +58,7 @@ class UpdatePaymentMethods // } - private function updateMethods(Customer $customer, Client $client) + public function updateMethods(Customer $customer, Client $client) { $card_methods = PaymentMethod::all([ 'customer' => $customer->id, diff --git a/resources/views/portal/ninja2020/gateways/wepay/signup/wepay-signup.blade.php b/resources/views/portal/ninja2020/gateways/wepay/signup/wepay-signup.blade.php index 10cef317d1..b3b2e8a028 100644 --- a/resources/views/portal/ninja2020/gateways/wepay/signup/wepay-signup.blade.php +++ b/resources/views/portal/ninja2020/gateways/wepay/signup/wepay-signup.blade.php @@ -53,19 +53,19 @@
+ wire:model.defer="country"> {{ ctrans('texts.country_United States') }}
+ wire:model.defer="country"> {{ ctrans('texts.country_Canada') }}
+ wire:model.defer="country"> {{ ctrans('texts.country_United Kingdom') }}
@@ -76,7 +76,7 @@
- + {{ ctrans('texts.accept_debit_cards') }}
@@ -95,7 +95,7 @@
- + {!! ctrans('texts.wepay_payment_tos_agree', ['terms' => $terms, 'privacy_policy' => $privacy_policy]) !!}
@error('wepay_payment_tos_agree')