Stripe, SOFORT: Fix country variable

This commit is contained in:
Benjamin Beganović 2020-06-09 13:24:37 +02:00
parent 1965dbf041
commit 49c7420ce1

View File

@ -36,8 +36,7 @@ class SOFORT
$data['return_url'] = $this->buildReturnUrl($data); $data['return_url'] = $this->buildReturnUrl($data);
$data['stripe_amount'] = $this->stripe->convertToStripeAmount($data['amount_with_fee'], $this->stripe->client->currency()->precision); $data['stripe_amount'] = $this->stripe->convertToStripeAmount($data['amount_with_fee'], $this->stripe->client->currency()->precision);
$data['client'] = $this->stripe->client; $data['client'] = $this->stripe->client;
// $data['country'] = $this->stripe->client->country->iso_3166_2; $data['country'] = $this->stripe->client->country->iso_3166_2;
$data['country'] = 'DE';
return render('gateways.stripe.sofort.pay', $data); return render('gateways.stripe.sofort.pay', $data);
} }