After the WeChat official account is successfully paid, what should I return to the interface for notification of successful payment?

Source: Internet
Author: User
If you keep accessing the configured policy_url, what should I return to stop it? I tried echo & #039; SUCCESS & #039; but no. I can stop returning the result when I use the QR code to pay, but it seems that I cannot pay in the public account, you have also tried echo & #039; & amp; lt; xml & amp; gt; & amp; lt; return_code & amp; gt; & amp; l... if you keep accessing the configured policy_url, what should I return to stop it?
Tried echo 'SUCCESS';But I can't. When I use the scan code to pay, the returned result can be stopped, but the payment in the public account does not seem to work, and I have tried to directly
echo ' SUCCESS OK ';
Or not ...... How should I return it? Guidance ......

Reply content:

If you keep accessing the configured policy_url, what should I return to stop it?
Triedecho 'SUCCESS';But I can't. When I use the scan code to pay, the returned result can be stopped, but the payment in the public account does not seem to work, and I have tried to directly
echo ' SUCCESS OK ';
Or not ...... How should I return it? Guidance ......

The correct answer is:echo 'SUCCESS';My own mistake ...... I want someone to see it later.

If you need to read the payment documentation clearly, the documentation clearly states that in order to ensure the successful delivery of the message to the developer, it will call the notify address multiple times. This requires your developers to handle this problem. You can modify the payment status once and you need to judge it once at notify.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.