check print error in payment

This commit is contained in:
phyusin
2018-03-20 18:08:27 +06:30
parent 42ec8fec5e
commit d2da43de75
3 changed files with 4 additions and 4 deletions

View File

@@ -249,7 +249,7 @@ class Api::OrdersController < Api::ApiController
order_queue_printer.print_order_item(print_settings, oqs, order_item.order_id, order_items_id, print_status=" (Cancelled)", before_updated_qty )
end
return return_json_status_with_code(400, "updated successfully!")
return return_json_status_with_code(200, "updated successfully!")
else
return return_json_status_with_code(406, "Checkout time is over!")
end