updated the CheckPaymentService