1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

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['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);
}