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

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











The best cryptocurrency trading and analysis platforms include: 1. OKX: the world's number one in trading volume, supports multiple transactions, provides AI market analysis and on-chain data monitoring. 2. Binance: The world's largest exchange, providing in-depth market conditions and new currency first-time offerings. 3. Sesame Open Door: Known for spot trading and OTC channels, it provides automated trading strategies. 4. CoinMarketCap: an authoritative market data platform, covering 20,000 currencies. 5. CoinGecko: Known for community sentiment analysis, it provides DeFi and NFT trend monitoring. 6. Non-small account: a domestic market platform, providing analysis of linkage between A-shares and currency markets. 7. On-chain Finance: Focus on blockchain news and update in-depth reports every day. 8. Golden Finance: 24 small

IIS and PHP are compatible and are implemented through FastCGI. 1.IIS forwards the .php file request to the FastCGI module through the configuration file. 2. The FastCGI module starts the PHP process to process requests to improve performance and stability. 3. In actual applications, you need to pay attention to configuration details, error debugging and performance optimization.

Laravel is suitable for projects that teams are familiar with PHP and require rich features, while Python frameworks depend on project requirements. 1.Laravel provides elegant syntax and rich features, suitable for projects that require rapid development and flexibility. 2. Django is suitable for complex applications because of its "battery inclusion" concept. 3.Flask is suitable for fast prototypes and small projects, providing great flexibility.

The official Gate.io APP can be downloaded in the following ways: 1. Visit the official website gate.io to download; 2. Search "Gate.io" on the App Store or Google Play to download. Be sure to download it through the official channel to ensure safety.

Multiple calls to session_start() will result in warning messages and possible data overwrites. 1) PHP will issue a warning, prompting that the session has been started. 2) It may cause unexpected overwriting of session data. 3) Use session_status() to check the session status to avoid repeated calls.

10 top scams on cryptocurrency exchanges Common scams: fake exchanges, Ponzi capital trading, contract manipulation, fake coin phishing, customer service fraud, etc. Identification points: Check regulatory licenses, check contract addresses, and be wary of high-yield commitments Must be protected: Use only mainstream exchanges (Binance/Coinbase) Enable hardware wallet Reject share private key/verification code Deal with fraud: take screenshots immediately, freeze assets, report on the platform, and report to the police Core principle: Any request for password/transfer is a fraud!

A Bitcoin can be divided into 100 million shares, the smallest unit is "Song", 1BTC = 100 million shares. The steps for beginners to purchase Bitcoin include: 1. Select a trusted trading platform, such as Binance, gate.io, and OKX; 2. Register and complete identity verification (KYC); 3. Recharge fiat currency, usually first exchanged for USDT; 4. Buy Bitcoin on the platform; 5. Choose hot storage or cold storage to store Bitcoin safely.

The core advantage of gate.io (global version) is that the interface is minimalist, supports Chinese, and the fiat currency trading process is intuitive; Binance (simplified version) has the highest global trading volume, and the simple version model only retains spot trading; OKX (Hong Kong version) has the simple version of the interface is simple, supports Cantonese/Mandarin, and has a low threshold for derivative trading; Huobi Global Station (Hong Kong version) has the core advantage of being an old exchange, launches a meta-universe trading terminal; KuCoin (Chinese Community Edition) has the core advantage of supporting 800 currencies, and the interface adopts WeChat interaction; Kraken (Hong Kong version) has the core advantage of being an old American exchange, holding a Hong Kong SVF license, and the interface is simple; HashKey Exchange (Hong Kong licensed) has the core advantage of being a well-known licensed exchange in Hong Kong, supporting France
