|
@@ -95,7 +95,8 @@ class BasicWePay
|
|
|
*/
|
|
|
public function getNotify()
|
|
|
{
|
|
|
-
|
|
|
+ $data = ['aa'=>1];
|
|
|
+ file_put_contents('pay1.txt',json_encode($data));
|
|
|
$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']) {
|