Where does @payer_ref come from in this case?  It appears it will be nil, which means this assertion should fail.