|
|
@@ -77,6 +77,7 @@ class Applepay extends Payment
|
|
|
'purchase_units' => [
|
|
|
[
|
|
|
'reference_id' => $override['merchantOrderId'],
|
|
|
+ 'invoice_id' => $override['merchantOrderId'],
|
|
|
'amount' => [
|
|
|
'currency_code' => $order->order_currency_code,
|
|
|
'value' => $this->formatCurrencyValue((float) $order->sub_total + $order->tax_total + ($order->selected_shipping_rate ? $order->selected_shipping_rate->price : 0) - $order->discount_amount),
|