question

teekay avatar image
teekay asked 3ssentialmsllc commented

Order level discount gets applied twice

Hi there,
We are having issues with discounts. Our order total seems to off because the order discount seems to be applied twice, whereas the Total Paid seems fine.


Creating the order
https://sandbox.dev.clover.com/v3/merchants/{mid}/orders/{orderID}  {"title":"Online_order 791","total":3610,"taxRemoved":false,"isVat":false,"state":"open","groupLineItems":true,"orderType":{"id”:”{ID}"},"note":"","externalReferenceId":"791”} 

Order level discount
https://sandbox.dev.clover.com/v3/merchants/{mid}/orders/{orderID}/discounts  {"name":"Discount","amount":-190.0} 

Line item discount
 https://sandbox.dev.clover.com/v3/merchants/{mid}/orders/{orderID}/line_items/{id}/discounts  {"name":"Discount","amount":-200.0}

Here’s how it’s showing up in Clover Receipt


What are we doing wrong? Please help.

Thank you,

T
Discounts
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kirby avatar image
kirby answered 3ssentialmsllc commented

This has been fixed. Thank you for bringing it to our attention.

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

3ssentialmsllc avatar image 3ssentialmsllc commented ·

img-3298.pngImage Captionit actually has not been fixed. I created two orders today from my cloverGo and the discount line is applied twice, yet the total being paid is correct.

0 Likes 0 ·
img-3298.png (313.0 KiB)
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

Weird, we looked into this and can't see that you're doing anything wrong. The issue appears to be on our end and we have created a ticket to track it.

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image David Marginian ♦♦ commented ·
This issue has been fixed and the fix will be deployed toward the end of July.
1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community