Customer confirms the order

Instead of actually confirming the order a QR code is displayed to the client, which needs to be scanned with the app to make the payemnt.

Order becomes visible to the merchant after the successful payment with status "processing"

Customer can cancel the payment by pressing the "Cancel" button.

Any error messages are shown on the checkout page. Customer can change payment method and order details.

After successul payment the customer is redirected to "order success" page with a "payment successful" message.

Order is now visible to the merchant with status "processing"


Order is marked as paid via plugins "process_payment" function. Notification URL cannot be used with this setting.


Attention: This implementation relies on the fact that WooCommerce checkout error messages are sent as HTML. This allows mTasku QR code to be sent back. This implementation will stop working once WooCommerce removes HTML support or if there has been a lot of changes in the checkout theme.