Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Dec 21, 2017
1 parent e499d36 commit f0a5f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zh-CN/payment/notify.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $response->send(); // Laravel 里请使用:return $response;
```php
$response = $app->handlePaidNotify(function($message, $fail){
// 使用通知里的 "微信支付订单号" 或者 "商户订单号" 去自己的数据库找到订单
$order = 查询订单($notify['out_trade_no']);
$order = 查询订单($message['out_trade_no']);

if (!$order) { // 如果订单不存在
$fail('Order not exist.'); // 告诉微信,我已经处理完了,订单没找到,别再通知我了
Expand Down

0 comments on commit f0a5f69

Please sign in to comment.