bool HandleCreateOrder(NetCmdBase obj) { GC_Cmd_CreateOrder ncb = (GC_Cmd_CreateOrder)obj; SDKMgr.Instance.SDK.Pay(ncb.ItemID, ncb.ProductID, ncb.OrderID.ToString(), ncb.notify_url, ncb.ProductID); return(true); }
bool HandleCreateOrder(NetCmdBase obj) { GC_Cmd_CreateOrder ncb = (GC_Cmd_CreateOrder)obj; SDKMgr.Instance.PayData.PayChannel = (PayChannelType)ncb.PayType; SDKMgr.Instance.PayData.OrderID = ncb.OrderID; SDKMgr.Instance.SDK.Pay(ncb.ItemID, ncb.ProductID, ncb.OrderID, ncb.notify_url, ncb.ProductID); return(true); }