From 7ed9e733b14b2dc89baed83fef2f35da842c98d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 24 Aug 2020 11:17:18 +0200 Subject: [PATCH] Switch from checkbox to radio buttons for saving card --- .../ClientPortal/PaymentMethodController.php | 2 ++ .../gateways/stripe/add_credit_card.blade.php | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/ClientPortal/PaymentMethodController.php b/app/Http/Controllers/ClientPortal/PaymentMethodController.php index fe5d3aaa77c1..db2fe3a243fb 100644 --- a/app/Http/Controllers/ClientPortal/PaymentMethodController.php +++ b/app/Http/Controllers/ClientPortal/PaymentMethodController.php @@ -63,6 +63,8 @@ class PaymentMethodController extends Controller */ public function store(Request $request) { + return $request->all(); + $gateway = $this->getClientGateway(); return $gateway diff --git a/resources/views/portal/ninja2020/gateways/stripe/add_credit_card.blade.php b/resources/views/portal/ninja2020/gateways/stripe/add_credit_card.blade.php index 86300ae190a4..5532e5730ee7 100644 --- a/resources/views/portal/ninja2020/gateways/stripe/add_credit_card.blade.php +++ b/resources/views/portal/ninja2020/gateways/stripe/add_credit_card.blade.php @@ -48,8 +48,14 @@ {{ ctrans('texts.save_as_default') }}
- + +