remove duplicate check; use order_payload variable instead of order