mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Stripe, SOFORT: Fix country variable
This commit is contained in:
parent
1965dbf041
commit
49c7420ce1
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user