|
@@ -95,9 +95,6 @@ class BasicWePay
|
|
|
*/
|
|
|
public function getNotify()
|
|
|
{
|
|
|
- $data = ['aa'=>1];
|
|
|
- echo 2222;die;
|
|
|
- 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']) {
|