Category: WeChat Open Platform
-
Post Views: 30 1. The existing implementation, an interface, is to obtain Alipay’s payment link in WeChat (requires login), and there is a callback interface (requires a signature), and a query interface (requires login). Now that payment online payment can only be made in the system browser, the query interface needs to be set to visitor accessible. In order to…
-
Post Views: 22 1. The PHP code is implemented as follows 2. When the response is a non-picture buffer, the data written in the picture file is incorrect. Image cannot be opened. The final decision is made to distinguish through the response header content-type. as shown in Figure 1 3. When the response is a non-picture buffer, yii\web\serverErrorHttpException: Failed to…
-
Post Views: 54 1. When requesting the WeChat Mini Program interface: obtaining unrestricted applet code, an error is reported: errcode: 47001, errmsg: data format error Rid. as shown in Figure 1 2. Adjust the content-type of the request parameter and solve it. Then another error is reported: errcode: 41030, errmsg: invalid page Rid. as shown in Figure 2 3. Adjust…
-
Post Views: 14 1. When requesting the WeChat interface, the return code: 45028, the returned English information: Has No Massend Quota Rid: 6103DF2E-1505BA73-0EB14E1C. as shown in Figure 1 2. The code is implemented as follows 3. The plan to convert the error message: Has No Masssend Quota Rid: 6103DF2E-1505BA73-0EB14E1C is translated as: no group quota. Rid: 6103DF2E-1505BA73-0EB14E1C. as shown in…
-
Post Views: 18 1. The XML data is printed as follows. as shown in Figure 1 2. At this stage, the XML is converted into an array. The code is implemented as follows. The libxml_disable_entity_loader function has been abandoned since PHP 8.0.0. It is strongly recommended not to rely on this function. 3. After converting to an array, the printing…
-
Post Views: 19 1. The interface call document of the permanent graphic material has been added to the WeChat public account, and the field: content_source_url must be. The original address of the graphic message, that is, the URL after clicking “Read the original text”. as shown in Figure 1 2. In the background of the WeChat public account, when creating…
-
Post Views: 58 1. Reference URL: https://developers.weixin.qq.com/doc/offaccount/asset_management/adding_permanent_assets.html . as shown in Figure 1 2. In Postman, the request header: form-data. 2 request body parameters: description, format is text; media, format is file. as shown in Figure 2 3. When the request body parameter is canceled: description, the response fails. as shown in Figure 3 4. Enter the official website material…