jkuhn avatar image
jkuhn asked David Marginian Deactivated edited

Discrepancy on Payment Receipt

I am using the v1 EComm Apis and when I perform a charge request (v1/charge endpoint), the total amount, tax amount, and tip amount show a variety of discrepancies. I just entered the following charge via the API call in the sandbox as follows:


Charge Request Body:

{ {

"amount": "1588",

"tax_amount": "72",

"tip_amount": "191",

"currency": "USD",

"capture": "true",

"description": "Food Truck Pub order for customer John Kuhn (",

"external_reference_id": "FT0000002566",

"source": "clv_1TSTSBBJL9tVyLWW18ap4BTY"


When I login to the sandbox dashboard and click on Transactions, the above-payment also looks good and everything matches with my amounts that were passed in:

However, if you click on Details and then click on View Payment Receipt, the receipt shows as follows and there are several issues with the receipt that I'm noticing. The total amount should not be $17.07 but rather it should be $15.88 (my hope is they actually get billed $15.88 and my hope is the receipt is what is incorrect). In other words, the "amount" value passed into the Charge request should be the total amount the customer gets billed. The tax amount and tip amount should have already been included in that order total "amount" value. Also, the tax amount is not showing on the receipt at all. It appears as though the receipt is showing a Subtotal of (amount - tax_amount). Then, it looks like the receipt is taking the Subtotal and adding the Tip to it and coming up with a new total amount of $17.07. I believe this is invalid and obviously won't make sense to the consumer when they receive this receipt. What will this person end up actually getting charged? The "amount" that shows on the transaction/payment which I passed in via the API call ($15.88) or the calculated value on the receipt? Next, what can be done to fix the receipt so it ties out properly.

e-commerce api
1599662750593.png (50.0 KiB)
1599662951084.png (31.1 KiB)
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 ·

When you calculate the charge total, do you include the tip and tax? You should not be, so I would start with correcting that and then let us know if you are still having issues you would like us to look at:

0 Likes 0 ·
jkuhn avatar image jkuhn David Marginian ♦♦ commented ·

Yes, I can easily do that and see what happens. However, can you tell me in the above scenario what the customer would actually have been charged as well as why tax information is not on the receipt?

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ jkuhn commented ·

The customer would be charged the amount on the charge. I just searched and we have an open issue for the tax not showing on the web receipt. However, if you use the v3 orders endpoint and add inventory items that have a tax associated with them you should see the tax on the receipt.

0 Likes 0 ·
Show more comments

0 Answers


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