环境:
laravel 4.2
thenbsp/wechat 1.*
php
我想在web页面上实现微信支付,如下:
options = { ...,
notify_url: url::to('payment'), }
生成支付二维码和扫码支付都成功,没问题。
但是: 不能执行到notify_url里?
url::to('payment')是这样定义的:
route::get('payment','..controller@payment'); (不知道是应该用get还是post )
方法内容:
$request = new notifyrequest();......内容没有改变,直接使用example中的代码。
这个地址可以直接打开,内容如下(不确定是否正确):
this xml file does not appear to have any style information associated with it. the document tree is shown below.
fail
invalid request
请大神们多多指点啊,郁闷好几天了都,谢谢!!
回复内容: 环境:
laravel 4.2
thenbsp/wechat 1.*
php
我想在web页面上实现微信支付,如下:
options = { ...,
notify_url: url::to('payment'), }
生成支付二维码和扫码支付都成功,没问题。
但是: 不能执行到notify_url里?
url::to('payment')是这样定义的:
route::get('payment','..controller@payment'); (不知道是应该用get还是post )
方法内容:
$request = new notifyrequest();......内容没有改变,直接使用example中的代码。
这个地址可以直接打开,内容如下(不确定是否正确):
this xml file does not appear to have any style information associated with it. the document tree is shown below.
fail
invalid request
请大神们多多指点啊,郁闷好几天了都,谢谢!!