Common problems for newbies in WeChat payment interface development are actually some common minor problems after downloading them. Let’s take a look at a related article compiled by the editor.
Find the configuration file WxPay.Config.php and only need to configure the following four items
2. The redirect_uri parameter is wrong
Log in to the public management backend - click Developer Center - find the web account, click Modify, write your own domain name, save and take effect.
3. The page URL is not registered
Log in to the public WeChat backend - WeChat payment - development configuration, and set the payment authorization directory path to the last slash
4. Sample page
jsapi.php jsApi payment