File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -549,7 +549,9 @@ private function getExpectedOrderData(OrderInterface $order): array
549549 'state ' => $ this ->mapOrderState ($ order ->getState ()),
550550 'status ' => $ order ->getStatus (),
551551 'totalInvoiced ' => $ order ->getBaseTotalInvoiced (),
552- 'grandTotal ' => $ order ->getSubtotal (),
552+ 'subtotal ' => $ order ->getBaseSubtotal (),
553+ 'grandTotal ' => $ order ->getBaseGrandTotal (),
554+ 'discountAmount ' => $ order ->getBaseDiscountAmount (),
553555 'currency ' => $ order ->getOrderCurrencyCode (),
554556 'amountPaid ' => $ order ->getPayment ()->getBaseAmountPaid (),
555557 'storeViewCode ' => $ order ->getStore ()->getCode (),
Original file line number Diff line number Diff line change 4040 <field name =" totalInvoiced" type =" Float" />
4141 <field name =" totalQtyOrdered" type =" Float" />
4242 <field name =" isVirtual" type =" Boolean" />
43+ <field name =" subtotal" type =" Float" />
4344 <field name =" grandTotal" type =" Float" />
45+ <field name =" discountAmount" type =" Float" />
4446 <field name =" currency" type =" String" />
4547 <field name =" amountCapturedOnline" type =" Float" />
4648 <field name =" amountRefundedOnline" type =" Float" />
Original file line number Diff line number Diff line change 1818 <attribute name =" base_total_invoiced" alias =" totalInvoiced" />
1919 <attribute name =" total_qty_ordered" alias =" totalQtyOrdered" />
2020 <attribute name =" is_virtual" alias =" isVirtual" />
21- <attribute name =" subtotal" alias =" grandTotal" />
21+ <attribute name =" base_subtotal" alias =" subtotal" />
22+ <attribute name =" base_grand_total" alias =" grandTotal" />
23+ <attribute name =" base_discount_amount" alias =" discountAmount" />
2224 <attribute name =" order_currency_code" alias =" currency" />
2325 <attribute name =" store_id" alias =" storeId" />
2426 <attribute name =" customer_email" alias =" customerEmail" />
You can’t perform that action at this time.
0 commit comments