The development of small procedures in the secret payment function
Applets pure signed developer documentationPay.weixin.qq.com/wiki/doc/ap…
Error in the return parameter of the signing process
- Ensure the accuracy of merchant number and planid.
- The accuracy of the signature is verified by wechat official after the signature is generated locally.
- The parameters are strings to ensure the consistency of single and double quotation marks. (I stepped on this pit in the debugging process, so remember the lesson)
In the small program, the user is authorized to open the car owner service function
Explanation: This function is actually based on the relationship between non-secret payment and wechat end car owner service platform binding license plate
Developer document address:Pay.weixin.qq.com/wiki/doc/ap…
Note:
- In the service provider mode, parameters such as sub-merchant number and sub_APPID are required.
- If the user does not click the Finish button after signing a contract in app.js, extraData will return undefined. Note the scenario value and call its own platform background interface to record the user signing status after the successful signing
- Callback code after successful signing
Coupon function development
Applets coupon plug-in document address
Pay.weixin.qq.com/wiki/doc/ap…
Front-end work requires the introduction of coupon plug-in in the small program, and the subsequent receipt of coupons to the card package only need to call the background interface, mainly background and wechat side docking more, but as a front-end also need to understand the business process of coupon issuance, which is conducive to development.