check if payments before looping over items