PHP development WeChat Payment code sharing _php Tutorial

Source: Internet
Author: User
Payment, even if you pay the margin, you still deal with the test phase, can not be formally released. You must submit your order, delivery notification, and other data to the system through the program test before you can request a release.

Then, because the API is invoked in the JS mode, the payment authorization directory must be set in the background, and to the level two directory three, which is a small problem with the MVC framework.

Using MVC, in the development environment, URLs are often native URL formats and cannot be guaranteed to have paths/forms

Therefore, the more reliable way is to create a subfolder of the entity, so that the overall system URL, the need for some transformation.

In addition, the last step, JS call, for HTTPS://GITHUB.COM/DODGEPUDDING/WECHAT-PHP-SDK here to provide the JS library, at the time of invocation, must ensure that the page after the loading of the trigger, This is the state of Weixinjsbridgeready, because this is the time to communicate with the browser to provide Jsbridge.

5.24 Fix

The relevant code in the micro-engine can be seen in detail.

Copy the Code code as follows:

http://www.bkjia.com/PHPjc/776463.html www.bkjia.com true http://www.bkjia.com/PHPjc/776463.html techarticle payment, even if you pay the margin, you still deal with the test phase, can not be formally released. You must go to the system through which you submit your order, delivery notification and other data to the program .

  • Related Article

    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.