created the submitpayment class