|
|
|
@ -888,9 +888,8 @@ class NotifyController extends BaseController
|
|
|
|
|
Log::write(serialize($_REQUEST), Log::DEBUG);
|
|
|
|
|
// $yop_public_key = C('yeepay.yop_public_key');
|
|
|
|
|
// $private_key = C('yeepay.private_key');
|
|
|
|
|
|
|
|
|
|
$source = $_REQUEST['response'];
|
|
|
|
|
$identifier = $source['customerIdentification'];
|
|
|
|
|
$identifier = $_REQUEST['customerIdentification'];
|
|
|
|
|
if (substr($identifier, 0, 4) == "OPR:") {
|
|
|
|
|
$identifier = substr($identifier, 4);
|
|
|
|
|
}
|
|
|
|
@ -898,7 +897,7 @@ class NotifyController extends BaseController
|
|
|
|
|
'identifier' => $identifier
|
|
|
|
|
])->find();
|
|
|
|
|
if (!$merchant) {
|
|
|
|
|
$this->record_logs("找不到商户!".$notify['auth_app_id']);
|
|
|
|
|
$this->record_logs("找不到商户!".$identifier);
|
|
|
|
|
echo 'fail';
|
|
|
|
|
exit();
|
|
|
|
|
}
|
|
|
|
|