For some reason the clover.intent.extra.TAX_AMOUNT value is 0 even though there is a tax amount.
This is from a clover.intent.action.PAY, if that helps.
We're trying to calculate the total amount before tax.
For some reason the clover.intent.extra.TAX_AMOUNT value is 0 even though there is a tax amount.
This is from a clover.intent.action.PAY, if that helps.
We're trying to calculate the total amount before tax.
From where is your custom tender being invoked? From the Register/Payments screen or from the Sale app, or from Secure Payments?
This is a bug. I've filed an internal issue to get it resolved. I don't have an ETA for the fix.
As a workaround, you can use the OrderCalc.getTax()
method (in the SDK). You are passed the order ID. You will need to use OrderConnector
to fetch the order yourself and pass it into OrderCalc
.
2 People are following this question.