I am trying to implement a QR-code based payments system.
Think of a scenario of a coffeeshop with a merchant POS which generates a QR-code for payment.
I, as the customer, opnes the MetaMask mobile app and scan the QR and approve the payment.
However, the merchant POS system has no way to know if the payment has been made. Is there a way to send transaction hash to a provided url endpoint after completion of payment from inside the MetaMask app to which the merchant POS app will keep listening to for getting confirmation of transaction?