Hi,
I have an ecommerce Charge of say $138.94 and tax_amount was set at $0.14. So when charge was sucessful, Order detail line (merchants/mid/v3/orders/) items show as $138.88. But no line item information about the $0.14 tax.
The eCommerce Order (scl-sandbox.dev.clover.com/v1/orders/ ) shows like this:
"amount": 13894, "items": [ { "quantity": 1, "amount": 13880, "description": "Item 1" }, { "type": "tax", "description": "Taxes (included)" } ]
In the above line item for tax is missing the "amount" field. It does not show up anywhere else.
What we are actually trying to do is refund all of $138.94 via ecommerce refund order endpoint. We are getting a Error 500 (it needs to be more informative than 500).
----- debug ecomReturnOrder to post { items: [ { amount: 13894, description: 'Refund amount PR0077000960', quantity: 1 } ] }
My main question is how do I refund the tax of $0.14? The Error 500 has a workaround mentioned in the community elsewhere.
Sandbox Order ID: F4MQZZHAWKGS4
Sandbox Charge: FF6HVFQ31KGTE