Skip to content

Commit

Permalink
Applied coupons not subtracted from the reimbursable amount issue res…
Browse files Browse the repository at this point in the history
…olved
  • Loading branch information
sander3 committed Oct 2, 2023
1 parent f22df34 commit b938e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ protected function reimbursableAmount()
return $item->order_id === $orderId;
});

return $carry->concat($items->toArray());
return $carry->concat($items);
}, new OrderItemCollection);

if ($appliedCouponOrderItems->isNotEmpty()) {
Expand Down

0 comments on commit b938e68

Please sign in to comment.