The xml code "direct return {code...}" written in the development document does not work and will still receive repeated notifications. How can this problem be solved? Return directly written in the development document
SUCCESS
OK
This xml Code does not work and will still receive repeated notifications. How can this problem be solved?
Reply content:
Return directly written in the development document
SUCCESS
OK
This xml Code does not work and will still receive repeated notifications. How can this problem be solved?
For payment development, we recommend you go to the official documentation and source code. I used to waste a lot of time because I didn't read the document carefully. Please refer to the development of payment (PHP ):
http://www.ihuxu.com/blog/wechat-pay-sdk-development/
Determine whether the order has been updated before return xml. The updated order is not processed directly.
The most direct one is to download the official demo and run it to see if there is any problem and then compare it with your own code to see if there is a problem with that step.
Http://www.oschina.net/question/560841_225367
You need to give a callback address, and then retrieve the data it post. It should be in xml format and you can parse it yourself.
If the notification already exists, ignore it.