wap支付后异步回调验证sign失败问题
pgyf opened this issue · 1 comments
pgyf commented
$alipay = new Alipay(array(/* config */));
$result = $alipay->verifyCallback();
wap md5方式签名支付后 异步回调验签失败
修改方法 verifyParameters 如下才能成功
$params = $this->filterSignParameter($params);
if (!$this->is_mobile) {
ksort($params);
reset($params);
} else {
$params = array(
'service' => $params['service'],
'v' => $params['v'],
'sec_id' => $params['sec_id'],
'notify_data' => $params['notify_data']
);
}
$content = urldecode(http_build_query($params));
mytharcher commented
好的,我检查一下,非常感谢!