question

teekay avatar image
teekay asked teekay edited

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 characters needed characters left characters exceeded

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

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

10 |2000 characters needed characters left characters exceeded

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 answered David Marginian 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 characters needed characters left characters exceeded

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

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