Using the WeChat payment interface in Tonglian Payment, after sending the parameters, "sub_appid and sub_openid not match" is returned. According to the instruction document, the reason is that the method of obtaining openid is incorrect. However, after checking the source code, it was found that openid was also obtained through authorization. , and it can indeed be printed. In the background configuration, I also modified the values of the official account appId and appSecret, and added my own WeChat to the official account as a test account (note: the official account inside is also a test account, and the official account is still (has not yet come down), what other possible reasons could it be?
Using the WeChat payment interface in Tonglian Payment, after sending the parameters, it returns "sub_appid and sub_openid not match". According to the instruction document, the reason is that the method of obtaining openid is incorrect. However, after checking the source code, I found that openid was also obtained through authorization. , and it can indeed be printed. In the background configuration, I also modified the values of the official account appId and appSecret, and added my own WeChat to the official account as a test account (note: the official account inside is also a test account, and the official account is still (has not yet come down), what other possible reasons could it be?