hotfix(medusa): add line item adjustments for correct calculation in authorizePayment (#1772)
This commit is contained in:
1 parent
41681b45b1
commit
9b5c2e8c1f
1 file changed
+6
-1
@@ -1200,7 +1200,12 @@ class CartService extends TransactionBaseService<CartService> {
|
||||
|
||||
const cart = await this.retrieve(cartId, {
|
||||
select: ["total"],
|
||||
relations: ["region", "payment_sessions"],
|
||||
relations: [
|
||||
"items",
|
||||
"items.adjustments",
|
||||
"region",
|
||||
"payment_sessions",
|
||||
],
|
||||
})
|
||||
|
||||
if (typeof cart.total === "undefined") {
|
||||
|
||||
Reference in new issue
Block a user