develop the pay module