added mark as paid functionality