diff --git a/微信支付.md b/微信支付.md index 9bfd927..7f2e399 100644 --- a/微信支付.md +++ b/微信支付.md @@ -81,4 +81,26 @@ var WXPayment = function() { ``` -###支付通知 \ No newline at end of file +###支付通知 +```php +verify(); + +if (!$transaction) { + $notify->reply('FAIL', 'verify transaction error'); +} + +var_dump($transaction); + +$notify->reply(); +``` \ No newline at end of file