Baidu: Some people say that the merchant's payment number is wrong, saying that the payment number is 8 bits, but I only find 10 bits. I printed the prepay_id blank, and Baidu has no fruit, please give me some advice.
-
Baidu: Some people say that the merchant's payment number is incorrect. They say that the payment number is 8 bits, but I only find 10 bits.
-
I printed the prepay_id out as null, but Baidu has no fruit. So I am here. Please give me some advice.
Reply content:
-
Baidu: Some people say that the merchant's payment number is incorrect. They say that the payment number is 8 bits, but I only find 10 bits.
-
I printed the prepay_id out as null, but Baidu has no fruit. So I am here. Please give me some advice.
My own problem, wrong KEY-Really disgusting
By the way, I would like to summarize some of my feelings about payment.
1. It is necessary to have four parameters
-
APPID -- unique public ID
-
MCHID -- Merchant payment ID
-
KEY-you need to set it on the merchant's platform-account settings-API Security
-
APPSECRET -- can be found in account information
In addition to the above two key points
1. Set the authorization directory example: starting the requested page url to http://www.xxx.com/weixin/pay/payment.php? XXXXX, then
Enter the directory http://www.xxxcom/weixin/pay /.
2. To implement the function, you need to obtain the user's code value. For webpage jump form, go to the public platform-Developer Center-configuration item-webpage authorization to obtain the user's basic information and configure your domain name.
Other problems are not encountered yet.