chore(core-flows): order transactions (#8568)
What: - Add order transaction when Cart is completed and payment is refunded
This commit is contained in:
committed by
GitHub
parent
24985cf89d
commit
96bdf3e2c6
@@ -329,7 +329,7 @@ describe("Total calculation", function () {
|
||||
tax_total: 9.512770562770562,
|
||||
discount_total: 17.5,
|
||||
discount_tax_total: 1.65,
|
||||
original_total: 124.5,
|
||||
original_total: 109.97619047619048,
|
||||
original_tax_total: 11.067099567099566,
|
||||
item_total: 97.37,
|
||||
item_subtotal: 100.9090909090909,
|
||||
@@ -618,7 +618,7 @@ describe("Total calculation", function () {
|
||||
tax_total: 10.08,
|
||||
discount_total: 24.2,
|
||||
discount_tax_total: 2.42,
|
||||
original_total: 140.8,
|
||||
original_total: 115.8,
|
||||
original_tax_total: 12.5,
|
||||
item_total: 85.8,
|
||||
item_subtotal: 100,
|
||||
|
||||
@@ -191,7 +191,7 @@ export function decorateCartTotals(
|
||||
// TODO: Gift Card calculations
|
||||
|
||||
const originalTempTotal = MathBN.add(
|
||||
subtotal,
|
||||
itemsOriginalSubtotal,
|
||||
shippingOriginalTotal,
|
||||
originalTaxTotal
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user