/// <summary> /// 获得预支付订单 /// </summary> /// <param name="e"></param> /// <param name="args"></param> private void OnPrePay(PrePay2Client e, object[] args) { if (e.storeName != StoreName.UC) { return; } Debug.LogWarning("OnPrePay=========:" + e.prepay_id + "=partnerId=="); //华为的支付重发意义不大 //OnPayInfo onPayInfo = new OnPayInfo(); //onPayInfo.isSuccess = true; //onPayInfo.goodsId = e.goodsID; //onPayInfo.storeName = StoreName.HuaWei; //onPayInfo.receipt = e.mch_orderID; //onPayInfo.price = price; //PayReSend.Instance.AddPrePayID(onPayInfo); StartLongTimeNoResponse(); //IndentListener(e.goodsID, e.mch_orderID, e.prepay_id, price); PayInfo payInfo = new PayInfo( e.goodsID, GetGoodsInfo(goodsID).localizedTitle, "", FrameWork.SDKManager.GoodsType.NORMAL, e.mch_orderID, price, GetGoodsInfo(goodsID).isoCurrencyCode, GetUserID(), e.storeName.ToString()); payInfo.prepay_id = e.prepay_id; SDKManagerNew.Pay(payInfo); }