From 175552b77f274f4dabf09eb6632c758da8b88846 Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Tue, 12 Oct 2021 16:15:09 +0200 Subject: [PATCH] Adapted base files --- app/PaymentDrivers/Stripe/BECS.php | 1 + .../ninja2020/gateways/stripe/becs/becs_debit.blade.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/PaymentDrivers/Stripe/BECS.php b/app/PaymentDrivers/Stripe/BECS.php index 178749565297..126bf0e07283 100644 --- a/app/PaymentDrivers/Stripe/BECS.php +++ b/app/PaymentDrivers/Stripe/BECS.php @@ -49,6 +49,7 @@ class BECS 'amount' => $data['stripe_amount'], 'currency' => 'eur', 'payment_method_types' => ['au_becs_debit'], + 'setup_future_usage' => 'off_session', 'customer' => $this->stripe->findOrCreateCustomer(), 'description' => $this->stripe->decodeUnicodeString(ctrans('texts.invoices') . ': ' . collect($data['invoices'])->pluck('invoice_number')), diff --git a/resources/views/portal/ninja2020/gateways/stripe/becs/becs_debit.blade.php b/resources/views/portal/ninja2020/gateways/stripe/becs/becs_debit.blade.php index 523f93dea8bc..cd41c59d29e6 100644 --- a/resources/views/portal/ninja2020/gateways/stripe/becs/becs_debit.blade.php +++ b/resources/views/portal/ninja2020/gateways/stripe/becs/becs_debit.blade.php @@ -10,10 +10,10 @@