question

brandin avatar image
brandin asked brandin commented

Discrepancies in order total between Clover receipt and API

We're reviewing some orders being completed at a client store, and we've noticed cases where the order total and payment amount provided by the Clover receipt do not match what's given back by the Clover API.

For example, consider the following receipt: https://www.clover.com/r/4N8XGH6DTHKXT

The order total is 4.40 with a payment of 4.40. However, if we do a lookup on the order from the Clover API, we get this:

{
  "href": "https://www.clover.com/v3/merchants/xxxxxx/orders/4N8XGH6DTHKXT",
  "id": "4N8XGH6DTHKXT",
  "currency": "USD",
  "employee": {
    "id": "xxxxxx"
  },
  "total": 441,
  "paymentState": "PARTIALLY_PAID",
  "orderType": {
    "id": "xxxxxx"
  },
  "taxRemoved": false,
  "isVat": false,
  "state": "locked",
  "manualTransaction": false,
  "groupLineItems": true,
  "testMode": false,
  "payType": "FULL",
  "createdTime": 1642008659000,
  "clientCreatedTime": 1642008658000,
  "modifiedTime": 1642008679000,
  "payments": {
...
}

Note that the order total here comes out as 4.41 instead of 4.40. This order was paid for with cash, and as we've been told by the client, used the standard Clover Register/Orders app.

I'm assuming it has something to do with the order total calculation being done by Clover, but want to know if this is a bug or something that's already being looked at.

Orders
10 |2000

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

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered brandin commented

Your app made an API call to set the total of this order to 441. If you need assistance on propertly setting order totals please see https://docs.clover.com/docs/calculating-order-totals.

3 comments
10 |2000

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

brandin avatar image brandin commented ·
Can you PM the details of that request? From our end the app should not be making any requests in this scenario.
0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ brandin commented ·
I have commented in a private post, let me know if you can't see it.
0 Likes 0 ·
brandin avatar image brandin David Marginian ♦♦ commented ·
I don't see any notifications. Where exactly should I be looking?
0 Likes 0 ·

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