incomplete integration of payment query #4