From 49c7420ce1012368b63c378f9eaa14a281b0a192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Tue, 9 Jun 2020 13:24:37 +0200 Subject: [PATCH] Stripe, SOFORT: Fix country variable --- app/PaymentDrivers/Stripe/SOFORT.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/PaymentDrivers/Stripe/SOFORT.php b/app/PaymentDrivers/Stripe/SOFORT.php index ebec8a35144b..260134b8cebf 100644 --- a/app/PaymentDrivers/Stripe/SOFORT.php +++ b/app/PaymentDrivers/Stripe/SOFORT.php @@ -36,8 +36,7 @@ class SOFORT $data['return_url'] = $this->buildReturnUrl($data); $data['stripe_amount'] = $this->stripe->convertToStripeAmount($data['amount_with_fee'], $this->stripe->client->currency()->precision); $data['client'] = $this->stripe->client; - // $data['country'] = $this->stripe->client->country->iso_3166_2; - $data['country'] = 'DE'; + $data['country'] = $this->stripe->client->country->iso_3166_2; return render('gateways.stripe.sofort.pay', $data); }