ok, I looked closer at the code. This id generator needs to move up to ``process_pay_req()``