develop the pay application