楼主解决了么??????,遇到一模一样问题了
发起支付一直提示无效的openid?https://api.mch.weixin.qq.com/pay/unifiedorder 支付接口调用 一直提示无效的openid, openid是通过code2Session接口拿过来的, 两边的小程序appid也是一样的 <xml><time_expire>20221115101010</time_expire><nonce_str>1667368939</nonce_str><time_start>7</time_start><openid>owX-H5fbncJEQct7BDwxr5LxKQB0</openid><sign>CBA94EC4B83E75095B713A6A7E9360AF</sign><fee_type>5</fee_type><body>测试商品</body><notify_url>87</notify_url><mch_id>163***3078</mch_id><spbill_create_ip>115.196.134.154</spbill_create_ip><sub_openid>43</sub_openid><out_trade_no>a830f251f820471b817b5b72a97fd2bb</out_trade_no><goods_tag>99</goods_tag><total_fee>1</total_fee><appid>wxfbe40***374df092</appid><trade_type>JSAPI</trade_type><limit_pay>56</limit_pay><receipt>Y</receipt></xml>
2023-11-02