|
@@ -97,10 +97,10 @@ class BasicWePay
|
|
|
{
|
|
|
$data = Tools::xml2arr(file_get_contents('php://input'));
|
|
|
file_put_contents('pay.txt',json_encode($data));
|
|
|
- if (isset($data['sign']) && $this->getPaySign($data) === $data['sign']) {
|
|
|
+ // if (isset($data['sign']) && $this->getPaySign($data) === $data['sign']) {
|
|
|
return $data;
|
|
|
- }
|
|
|
- throw new InvalidResponseException('Invalid Notify.', '0');
|
|
|
+// }
|
|
|
+// throw new InvalidResponseException('Invalid Notify.', '0');
|
|
|
}
|
|
|
|
|
|
/**
|