项目上线多个版本都正常,从5月31号开始,拉起客服弹窗后发送卡片,客服没有返回支付链接卡片,只是单纯的返回了“请点击右下角卡片获得支付链接”的文本,经过排查发现支付相关功能客户端和服务器代码均未进行任何改动,就是不返回支付链接卡片,回退了几个之前正常的线上版本均出现相同情况。OpenCustomerServiceConversationOption接口回调也是success msg为ok。跪求大佬尽快帮我看下,线上产品都没法正常开放iOS支付功能,非常影响产品数据
JObject obj = new JObject();
obj.Add("scene", "webPay");
obj.Add("trade_no", orderID);
obj.Add("product_id", markId);
obj.Add("product_desc", ItemDec);
obj.Add("product_url", "https://download.tapque.com/qutan_h5/dreamgarden_h5/res/StoreGiftBagIcon/test.jpg");
obj.Add("attach", tempObj.itemId);
obj.Add("player_id",UserData.inst.cid.ToString());
obj.Add("zone_id","1");
obj.Add("env", tempEnv);
string jsonParam = JsonConvert.SerializeObject(obj);
WeChatWASM.OpenCustomerServiceConversationOption tempOption = new WeChatWASM.OpenCustomerServiceConversationOption()
{
sessionFrom = "webPay",
showMessageCard = true,
sendMessagePath = jsonParam,
sendMessageImg = GlobalConfig.resUrl + "/res/StoreGiftBagIcon/" + wechatBG + ".png",
sendMessageTitle = WeChatTitle,
fail = (res) =>
{
Debug.LogError("Error msg==>" + res.errMsg);
},
success = (res) =>
{
Debug.Log("Success ==>" + res.errMsg);
},
complete = (res) =>
{
Debug.Log("Completed !!!");
}
};
Debug.Log("sendMessagePath==>" + jsonParam);
string json = JsonConvert.SerializeObject(tempOption);
Debug.Log("tempOption==>" + json);
WeChatWASM.WX.OpenCustomerServiceConversation(tempOption);
参数通过log可以确定没有问题!
重新登录再试试,如果还有问题,麻烦提供下客服微信、时间点