update order currency

This commit is contained in:
Edward Yang 2022-07-07 18:05:49 +08:00
parent ec6d90439b
commit 52c4222736
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class PaymentService
$total = round($this->order->total, 2) * 100;
$stripeChargeParameters = array(
'amount' => $total,
'currency' => 'USD',
'currency' => $this->order->currency_code,
'metadata' => array(
'orderId' => $this->order->id,
),