ThinkPHP3.2 the redirect_uri error is reported when the WeChat payment URL is used.

Source: Internet
Author: User
ThinkPHP3.2 the payment URL reports a redirect_uri error. if THINKPHP3.2 is accessed by the official website, the redirect_uri Parameter error is always reported.
I have read that the parameters are correct, and the js webpage authorization address is correct. I paid some domain names under Level 2.
Www.xxx.com/tpcms/index.php/wxpay/index.html
I have entered this URL
Www.xxx.com/tpcms/
Www.xxx.com/tpcms/index.php/wxpay/
Www.xxx.com/tpcms/index.php/wxpay/index/
Www.xxx.com/tpcms/index.php/
I have filled in these payment addresses, but still prompted an error. I used a second-level directory on the server to build it.
Which of the following has experienced this situation and has been resolved?


Reply to discussion (solution)

If your payment page is set to this, you can use www.xxx.com/tpcms/index.php/wxpay to pay the directory. I think it should not be the problem of the payment Directory. it is because the request parameter entered on the payment page is incorrect, take a closer look at the process.

Http://download.csdn.net/detail/u013358222/9481289 this address is tp3.2 payment can refer to see

If your payment page is set to this, you can use www.xxx.com/tpcms/index.php/wxpay to pay the directory. I think it should not be the problem of the payment Directory. it is because the request parameter entered on the payment page is incorrect, take a closer look at the process.

Http://download.csdn.net/detail/u013358222/9481289 this address is tp3.2 payment can refer to see



Have you ever done this? Can I use index. php/xxx/in the authorization directory? If I fill it in, it won't work. if I use the official dome to put it on, it will be OK, but it does not contain index. php, after direct domain name/XXX/

I know what the problem is, but I don't want to tell you. Hum

So don't use index. php. I didn't get rid of index. php when I did it.

I know what the problem is, but I don't want to tell you. Hum

You are Zhou Qi

So don't use index. php. I didn't get rid of index. php when I did it.


I can remove index. php. thanks.

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.