The finest micro-channel pay-wide network error resolution

Recent frequent system failures to pay micro letter, suggesting parameter error, then tracking and positioning server logs for processing.
1. Error message:
Here Insert Picture Description
2. Solving steps:
(1) system JSAPI call micro-channel unified under a single interface to initiate a prepaid ticket request, micro-channel server returned an error problem.

err_code=PARAM_ERROR, err_code_des=无效的openid, return_msg=OK

(2) JSAPI way micro-channel micro-channel browser calls the payment, openID is a required parameter. So the initial position is that we get the user interface services wechatapi openID when the error occurred.
(3) View API interface to view the log micro letter, really an error message. Preliminary analysis of the public is the number of micro-channel pay AppSecret error.

{"errcode":40125,"errmsg":"invalid appsecret, view more at http:\/\/t.cn\/RAEkdVq hint: [nZpHda07873612]"}

(4) AppSecret corresponding interface is APPID password to use interface call certificate acquired access_token. In the micro-channel payments, to get the user through openID OAuth2.0 interface This interface uses the openID for single micro channel page payment mode.
(5) Then to see the number AppSecret public business background configuration, reset, reconfigure, OK.

Guess you like

Origin blog.51cto.com/14614970/2450561