Thanks for your response, @Jeffrey Blattman . I work with @Nirmal Jha on this project.
Just to add some context - what we are trying to do here is basically open a popup that allows the merchant to search for any reward that the eligible might be eligible for - select that reward (basically a discount) and apply it to the order.
In order to keep the merchant informed about the applied discount, we need to show the Payments app in the background.
So, the process would basically be -
- Select the Products in the Register app
- Go to the Payment page
- Merchant sees a custom tender - clicks on it
- A popup shows up. Merchant searches for the user in the popup and checks if the user is eligible for any reward
- Merchant selects a reward and confirms.
- The reward (a discount - percentage OFF or amount OFF) is applied to the Order and the popup closes.
- Merchant proceeds with payment confirmation.
I hope this helps.
3 People are following this question.