public async Task WhenIPayOnPaymentGateway() { var orderId = Get <string>(OnlineDepositOrderIdKey); var fakeOrderId = DateTime.Now.ToString("yyyyMMddHHmmss"); var request = new OnlineDepositPayNotifyRequest { OrderIdOfMerchant = orderId, OrderIdOfGateway = "OID-Gateway" + fakeOrderId, OrderIdOfRouter = "OID-Router" + fakeOrderId, PayMethod = "XPAY", Language = "zh-CN" }; var sign = request.OrderIdOfMerchant + request.OrderIdOfRouter + request.OrderIdOfGateway + request.Language + OnlineDepositKey; request.Signature = EncryptHelper.GetMD5HashInHexadecimalFormat(sign); var result = await MemberApiProxy.OnlineDepositPayNotifyAsync(request); Set(OnlineDepositNotifyResponseKey, result); }