The SaleRequest scenario implemented on our application is as below.
1. Place the order over REST API and obtain the respective orderId.
2. Payment is done via the clover android SDK for the obtained orderId.
Taxes are working without any issue for the above implementation. For the PreAuth scenario, I follow the same above approach but instead of SaleRequest, I use the PreAuthRequest and CapturePreAuthRequest. Since there's no way to define the total amount and tax amount separately in the PreAuthRequest I pass only the total amount to the request. Even though after the capture request the amount deducted by the card is correct, the Clover orders app says the order is "PARTIALLY PAID". After checking the order details, it seems like clover is again calculating tax for the original total so the total is increased than the paid amount.
Item price $100
Tax percentage 10%
order total $110 <- This amount will be captured
But on the clover Orders app item price will be listed as $110 and an additional 10% of $11 will be mentioned as tax and the total will come to $121 and the order will be marked as "PARTIALLY PAID"
Is there any way to overcome this tax problem on the above flow?