ACTION_MODIFY_AMOUNT
The Clover Sale app searches for activities with this action registered in the manifest and for each such activity a button is added which when tapped launches the associated activity. The activity can inspect the current amount to be paid and transaction type and should return an adjusted amount to be paid by putting EXTRA_AMOUNT into a Intent, calling Activity#setResult(int, Intent) and finishing itself. The Clover Sale app will then update the amount to paid.
See: Example Usage
Extras passed:
- EXTRA_AMOUNT - the initial amount
- EXTRA_TRANSACTION_TYPE - the transaction type
Result data must include:
- EXTRA_AMOUNT - the amount the amount resulting from your activity