{"action":"created","issue":{"url":"https://api.github.com/repos/mytharcher/alipay-php-sdk/issues/3","labels_url":"https://api.github.com/repos/mytharcher/alipay-php-sdk/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/mytharcher/alipay-php-sdk/issues/3/comments","events_url":"https://api.github.com/repos/mytharcher/alipay-php-sdk/issues/3/events","html_url":"https://github.com/mytharcher/alipay-php-sdk/issues/3","id":87245137,"number":3,"title":"你好,请教一个问题","user":{"login":"hubs","id":421673,"avatar_url":"https://avatars.githubusercontent.com/u/421673?v=3","gravatar_id":"","url":"https://api.github.com/users/hubs","html_url":"https://github.com/hubs","followers_url":"https://api.github.com/users/hubs/followers","following_url":"https://api.github.com/users/hubs/following{/other_user}","gists_url":"https://api.github.com/users/hubs/gists{/gist_id}","starred_url":"https://api.github.com/users/hubs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hubs/subscriptions","organizations_url":"https://api.github.com/users/hubs/orgs","repos_url":"https://api.github.com/users/hubs/repos","events_url":"https://api.github.com/users/hubs/events{/privacy}","received_events_url":"https://api.github.com/users/hubs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-11T07:31:23Z","updated_at":"2015-06-11T10:50:14Z","closed_at":null,"body":"<pre>\r\nif($verify_result) {//验证成功\r\n\t/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\t//请在这里加上商户的业务逻辑程序代\r\n\t\r\n\t//——请根据您的业务逻辑来编写程序（以下代码仅作参考）——\r\n\t\r\n    //获取支付宝的通知返回参数，可参考技术文档中服务器异步通知参数列表\r\n\t\r\n\t//商户订单号\r\n\t$out_trade_no = $_POST['out_trade_no'];\r\n\t//支付宝交易号\r\n\t$trade_no = $_POST['trade_no'];\r\n\t//交易状态\r\n\t$trade_status = $_POST['trade_status'];\r\n</pre>\r\n\r\n这是notify_url.php里面的内容,\r\n$out_trade_no , $trade_no,$trade_status 真的能从$_POST里面取到？这些数据不都打包在\r\n\r\n<pre>\r\n$doc = new DOMDocument();\r\n\t\t\t$doc->loadXML($data['notify_data']);\r\n\t\t\t$notify_id = $doc->getElementsByTagName( 'notify_id' )->item(0)->nodeValue;\r\n</pre>\r\n的notify_data里面，而这个是xml格式的"},"comment":{"url":"https://api.github.com/repos/mytharcher/alipay-php-sdk/issues/comments/111083517","html_url":"https://github.com/mytharcher/alipay-php-sdk/issues/3#issuecomment-111083517","issue_url":"https://api.github.com/repos/mytharcher/alipay-php-sdk/issues/3","id":111083517,"user":{"login":"mytharcher","id":525658,"avatar_url":"https://avatars.githubusercontent.com/u/525658?v=3","gravatar_id":"","url":"https://api.github.com/users/mytharcher","html_url":"https://github.com/mytharcher","followers_url":"https://api.github.com/users/mytharcher/followers","following_url":"https://api.github.com/users/mytharcher/following{/other_user}","gists_url":"https://api.github.com/users/mytharcher/gists{/gist_id}","starred_url":"https://api.github.com/users/mytharcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mytharcher/subscriptions","organizations_url":"https://api.github.com/users/mytharcher/orgs","repos_url":"https://api.github.com/users/mytharcher/repos","events_url":"https://api.github.com/users/mytharcher/events{/privacy}","received_events_url":"https://api.github.com/users/mytharcher/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T10:50:14Z","updated_at":"2015-06-11T10:50:14Z","body":"你现在用的是桌面版的还是移动网页版？我看文档以及代码测试只有移动网页版会涉及到 xml 的数据。"}}