added isset check for paramters in PaymentRequest