Custom Discount applied to cart not reflecting in order detail of swell dashboard
Hi, We are using our own custom discount logic to apply discounts. We are updating discounts in the cart. discount is successfully applied to the cart and the user paid the discounted price.
On the swell dashboard, cart is showing discount cart URL is https://minoan.swell.store/admin/carts/61d90cfa8e5fd0013d1768d8
but once this same cart is converted to order, the user paid the grand_total (which includes discount) of the cart, which is correct.
but on the order detail of the swell dashboard discount is not mentioned. the total amount is shown on the order also doesn’t include the discount. Order URL is
ideally, discounts should be shown on both order detail and cart.
I'm attaching the screenshots on both cart and order created from the same cart.
As you can see in the images, the total on the cart is not equal to the total on order.