Let’s first complain about WeChat’s documentation and demo. The important step information is not emphasized clearly, and the .net demo has not been successfully run. 1. Scan the WeChat QR code to log in 2. WeChat PC payment took several attempts to get through the refund function. The following is an introduction to the development steps of the WeChat payment refund function: 1. Download the certificate and import it into the system. WeChat refund requires a certificate. This certificate is not the certificate in the official demo, but requires its own API security bar in the WeChat merchant platform. For the downloaded certificate, you can see the following words in a word document of the official certificate usage example: One thing to note about C# is that in addition to using apiclient_cert.p12 in the code, you also need to import the certificate into the operating system before it can be used. 1. In the code Use,; 2. Import the operating system, both are indispensable. The .NET version needs to be greater than 2.0. I didn’t know these two steps before and wasted too much time. So download the certificate first: mobile phone verification and login password are required when downloading. After downloading, find the certificate apiclient_cert.p12 and double-click to import it. When importing, you will be prompted to enter a password. This password is the merchant ID and must be on your own merchant account.
1. WeChat payment Detailed explanation of refund steps
Introduction: WeChat refund requires a certificate, which is not included in the official demo Instead, you need to download the certificate from the api security column in the WeChat merchant platform. In a word document of the official certificate usage example, you can see the following: There is one thing to note in C#, in addition to using apiclient_cert.p12 in the code. In addition, the certificate needs to be imported into the operating system before it can be used. 1. Use it in the code; 2. Import it into the operating system. Both are indispensable. The .NET version needs to be greater than 2.0. I didn’t know these two steps before and wasted too much time
2. PHP WeChat payment instance analysis_php instance
Introduction: This article mainly introduces PHP WeChat payment examples in detail, including PHP WeChat payment source code and PHP WeChat refund source code. It has certain reference value. Interested friends can Please refer to
3. php instance tutorial PHP WeChat payment instance analysis
Introduction: php instance tutorial: php instance Tutorial PHP WeChat payment example analysis: This article shares PHP WeChat payment example for everyone, including PHP WeChat payment source code, PHP WeChat refund source code, PHP WeChat payment interface, for your reference. The specific content is as follows 1. JSapi payment demo (in WeChat client Click in the terminal)
4. Curl error during WeChat refund, error code: 58
Introduction: Curl error occurred during WeChat refund, error code: 58
[Related Q&A recommendations]:
#java - WeChat refund, public account to Personal transfer SSL verification failed
android - Sogou input method forcibly intercepts the hardware input keyevent problem.
The above is the detailed content of Recommended articles about WeChat refunds. For more information, please follow other related articles on the PHP Chinese website!