added debug statement for payment