fix(medusa): Create tax lines when marking DraftOrder as paid (#1852)
This commit is contained in:
1 parent
c148064b4a
commit
dafbfa7799
2 files changed
+7
No files matched your search
@@ -70,6 +70,8 @@ export default async (req, res) => {
|
||||
.withTransaction(manager)
|
||||
.setPaymentSession(cart.id, "system")
|
||||
|
||||
await cartService.createTaxLines(cart.id)
|
||||
|
||||
await cartService.withTransaction(manager).authorizePayment(cart.id)
|
||||
|
||||
result = await orderService.withTransaction(manager).createFromCart(cart.id)
|
||||
|
||||
Reference in new issue
Block a user