feat: qr payment flow update

This commit is contained in:
Pyae Bhone Zaw
2025-06-27 12:58:49 +06:30
committed by DevTeam
parent 4790309150
commit 3f926f7711
6 changed files with 1677 additions and 39 deletions

View File

@@ -746,6 +746,7 @@ scope "(:locale)", locale: /en|mm/ do
get '/:sale_id/reprint' => 'payments#reprint', :defaults => {:format => 'json'}
get '/food_court/:order_id/cancel_order' => 'orders#cancel_order', :as => 'cancel_order'
get '/:sale_id/qrpay/precreate' => 'qrpay#precreate'
get '/:sale_id/qrpay/init' => 'qrpay#init'
post 'qrpay/cancel' => 'qrpay#cancel'
get 'qrpay/test-payment' => 'qrpay#test_payment'