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 .