Thanks,
But when we open the main payments screen using ACTION_CLOVER_PAY and send the amount its not display that amount and after clicking on "pay cash" button its goes to receipt screen and we didn't get response in OnActivityResult.
But, my requirement is that we want to skip the default receipt screen and get the response in OnActivityResult after successfully cash payment, please let me know if it possible.
ACTION_CLOVER_PAY is as documented in the SDK: is does not accept an amount. You need to create an order, then pass it that order ID. Yes, it goes to the receipt screen after payment is complete. You can't skip that.
The Payments Clover app is pretty much a black box. You can start it, but the flow is not customizable.
The Payments app that's started with ACTION_CLOVER_PAY accepts an order ID parameter. The total is the total of that order. You must add line items to the order user OrderConnector before calling ACTION_CLOVER_PAY.
2 People are following this question.