Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你好,关于支付宝回调的相关问题 #2

Open
phpdever opened this issue Jan 31, 2018 · 1 comment
Open

你好,关于支付宝回调的相关问题 #2

phpdever opened this issue Jan 31, 2018 · 1 comment

Comments

@phpdever
Copy link

在回调方法中,这2行代码如何使用呢?

$xml = $GLOBALS['HTTP_RAW_POST_DATA'];
$ret = json_decode(json_encode(simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA)), true);

@phpdever
Copy link
Author

phpdever commented Feb 1, 2018

已经解决了,感谢开源,我使用verifyNotify验证回调结果就行了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant