onpay (test passed, but logic is broken)