服务商模式下,调用查询订单接口,接口参数传入了sub_appid,但返回值sub_openid为空。已经确认的是,该用户使用过付款码支付和小程序支付。且在小程序支付后,通过查询订单发现,返回的openid与小程序的openid不符,返回值如下:
{
"transaction_id": "4200000498201912316294626437",
"nonce_str": "wzF6v7xsHDJQJzVH",
"trade_state": "SUCCESS",
"bank_type": "CMB_CREDIT",
"openid": "oAT3B51FsOTJ4DXcFUiOv7gU8E-4",
"sign": "912D9F22B5FDCA2E0DA997FA41969152",
"return_msg": "OK",
"fee_type": "CNY",
"mch_id": "****",
"sub_mch_id": "***",
"cash_fee": "300",
"out_trade_no": "CPRP749065074",
"cash_fee_type": "CNY",
"appid": "****",
"total_fee": "300",
"trade_state_desc": "支付成功",
"trade_type": "NATIVE",
"result_code": "SUCCESS",
"attach": "",
"time_end": "20191231141141",
"is_subscribe": "Y",
"return_code": "SUCCESS"
}
帮顶,有问题,求解决
顶
WePayTS8添加一下(备注:微信社区XXX问题。)