環境:
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
請大神們多多指點啊,鬱悶好幾天了都,謝謝!!