WeChat Payment, question-php Tutorial

Source: Internet
Author: User
Payment. if the problem arises, "the ticket has been paid by another account and you have no right to initiate it again ."

Click Pay. a dialog box is displayed.


Thank you.


Reply to discussion (solution)

I am busy looking for other problems, and I am not in a hurry to make it clear.


This prompt is displayed today. it used to be good. after a weekend, it seems that all android devices cannot pay.

Apple phone no problem

I just tried it. it's not about cell phones.

Has anyone ever encountered this problem? Please respond. thank you.

When you initiate a payment, check whether the order is paid. However, this mechanism is actually processed on the built-in interface. for example, when you pay an order and return it again, if you pay again, you will be prompted that your operation is repeated.




Clears the local order table, payment table, and other records. This prompt also appears. I don't know what the problem is.

Weiphp framework used



If you want to make a payment, you will be prompted that the order has been initiated. It should be the same order paid every time

(The payment process uses js_api to write the result file, order number, and total amount. Then read the order number and amount of money in the payment)
Finally, in Addons/WeiSite/result. php, we found that each payment is not updated. Content,
In linux, the file permission is restricted and writing is prohibited. as a result, the same order is paid every time.

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.