From 391a58664525a2e5018646ed5a5048446cbede6a Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Wed, 6 Oct 2021 14:35:16 +0200 Subject: [PATCH] Added offline usage token --- app/PaymentDrivers/Stripe/SEPA.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/PaymentDrivers/Stripe/SEPA.php b/app/PaymentDrivers/Stripe/SEPA.php index 0833e65a20..cba8c6bdcc 100644 --- a/app/PaymentDrivers/Stripe/SEPA.php +++ b/app/PaymentDrivers/Stripe/SEPA.php @@ -49,6 +49,7 @@ class SEPA 'amount' => $data['stripe_amount'], 'currency' => 'eur', 'payment_method_types' => ['sepa_debit'], + 'setup_future_usage' => 'off_session', 'customer' => $this->stripe->findOrCreateCustomer(), 'description' => $this->stripe->decodeUnicodeString(ctrans('texts.invoices') . ': ' . collect($data['invoices'])->pluck('invoice_number')),