On separate page after customer confirms order
Customer confirms the order
Merchant receives the order with status "pending"
Customer is redirected to "order-pay" page where the QR code is shown which needs to be scanned with mTasku app to make the payment.
Customer can press the "Cancel" button, which closes the overlay.
At this point customer can go back to cart and use some other payment method (2) or re-start the payment (1). Error message is displayed to the client (3).
On successful payment the customer is redirect to "order-success" page.
With a "payment successful" message.
Merchant can now see that the order status changed from "pending" to "processing"
Order can be marked as paid via notification URL or via Ajax polling.