|
@@ -80,6 +80,12 @@ class Yspay extends Core
|
|
if (isset($this->config['prefix']) && $this->config['prefix']) {
|
|
if (isset($this->config['prefix']) && $this->config['prefix']) {
|
|
$input[$key] = str_replace($this->config['prefix'], '', $input[$key]);
|
|
$input[$key] = str_replace($this->config['prefix'], '', $input[$key]);
|
|
}
|
|
}
|
|
|
|
+ if (isset($input['billPayment'])) {
|
|
|
|
+ $input['billPayment'] = json_decode($input['billPayment'], true);
|
|
|
|
+ if (isset($input['billPayment']['status'])) {
|
|
|
|
+ $input['status'] = $input['billPayment']['status'];
|
|
|
|
+ }
|
|
|
|
+ }
|
|
if (!isset($input['status'])) {
|
|
if (!isset($input['status'])) {
|
|
echo 'FAILED';die;
|
|
echo 'FAILED';die;
|
|
}
|
|
}
|