Unable to perform notify_url issue after using thenbsp/wechat WeChat payment
Source: Internet
Author: User
KeywordsPHP WeChat WeChat payment Laravel
Environment:
Laravel 4.2
Thenbsp/wechat 1.*
Php
I want to implement payment on the Web page as follows:
Options = {...,
notify_url: URL::to('payment'), }
Generate payment QR code and Scan code payment are all successful, no problem.
But: can't execute into Notify_url?
Url::to (' payment ') is defined in this way: Route::get (' Payment ', ' ... Controller@payment '); (Do not know whether to use Get or post??) Method Content:
$request = new NotifyRequest();......内容没有改变,直接使用example中的代码。
This address can be opened directly, the content is as follows (not sure whether it is correct):
This XML file does does appear to has any style information associated with it. The document tree is shown below. FAIL Invalid Request
Please the great God, a lot of advice ah, depressed for several days, thank you!!
Reply content:
Environment: Laravel 4.2 Thenbsp/wechat 1.* Php
I want to implement payment on the Web page as follows:
Options = {...,
notify_url: URL::to('payment'), }
Generate payment QR code and Scan code payment are all successful, no problem.
But: can't execute into Notify_url?
Url::to (' payment ') is defined in this way: Route::get (' Payment ', ' ... Controller@payment '); (Do not know whether to use Get or post??) Method Content:
$request = new NotifyRequest();......内容没有改变,直接使用example中的代码。
This address can be opened directly, the content is as follows (not sure whether it is correct):
This XML file does does appear to has any style information associated with it. The document tree is shown below. FAIL Invalid Request
Please the great God, a lot of advice ah, depressed for several days, thank you!!
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.