Payment logic implemented