made paymentGateway nullable