update order currency
This commit is contained in:
parent
ec6d90439b
commit
52c4222736
|
|
@ -98,7 +98,7 @@ class PaymentService
|
||||||
$total = round($this->order->total, 2) * 100;
|
$total = round($this->order->total, 2) * 100;
|
||||||
$stripeChargeParameters = array(
|
$stripeChargeParameters = array(
|
||||||
'amount' => $total,
|
'amount' => $total,
|
||||||
'currency' => 'USD',
|
'currency' => $this->order->currency_code,
|
||||||
'metadata' => array(
|
'metadata' => array(
|
||||||
'orderId' => $this->order->id,
|
'orderId' => $this->order->id,
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue