Why does the WeChat payment prompt "this link cannot be accessed?

Source: Internet
Author: User
Why does the payment prompt "this link cannot be accessed? I am directly using the php version of the payment demo prompt "this link cannot be accessed" why?
The official instructions are as follows,


My link is like this


I don't know why?


Reply to discussion (solution)

What should I do?

First, you can access the callback address to see if it can be accessed.
The figure shows that you cannot access your address.

First, you can access the callback address to see if it can be accessed.
The figure shows that you cannot access your address.


My address is correct. I am using the official website demo. I don't know if it is a configuration problem or what?

There is a payment callback address in the public account background. Are you sure you want to write it?

No Callback address in the background

There is a payment callback address in the public account background. Are you sure you want to write it?




What have I set?

Why did the landlord find out? I am also making this mistake.

After the payment is successful, do you still call the payment interface? If the payment is successful, the callback address is incorrect. if the interface is incorrect when you apply for a payment request, check the payment code carefully (the value returned to the page)

WeixinJSBridge. invoke (
'Getbrandwcpayrequest ',
{$ JsApiParameters },
Function (res ){
WeixinJSBridge. log (res. err_msg );

}
);

The value in this area is incorrect.

Thank you. let me try again.

I also encountered this problem. I guess it is the "authorization callback page domain name" configured in the background, but now I cannot modify this value. After I modify this parameter of the url, this error is not reported.

An error occurred while obtaining the openid. it is okay to print out the request address and send the request to the project separately.

Has the landlord solved the problem?

Has the landlord solved the problem?


No solution. now it's stuck, except for the browser itself.

You must set the callback domain name. Otherwise, this may occur, and the interface prompt is too bad.

Public Account Platform-interface permission-webpage authorization to obtain basic user information for modification

Why did the landlord find out? I am also making this mistake.


Set a callback domain name in the background

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.