Currently, a payment applied with a custom tender is able to specify the payment amount. How can the payment also set the tax amount?
Intent data = new Intent(); data.putExtra(Intents.EXTRA_AMOUNT, amount); // TODO Add tax amount here data.putExtra(Intents.EXTRA_CLIENT_ID, Utils.nextRandomId()); data.putExtra(Intents.EXTRA_NOTE, "Transaction Id: " + Utils.nextRandomId()); setResult(RESULT_OK, data); finish();