@ -58,7 +58,6 @@ class Response
public function verify()
{
var_dump('paySecret', Config::get('paySecret'));
return Signer::verify($this->data, Config::get('paySecret'));
}
@ -15,6 +15,9 @@ class Signer
ksort($params);
$signPrams = [];
foreach ($params as $key => $value) {
if ($value === '') {
continue;
$signPrams[] = $key . '=' . $value;
$signPrams[] = 'paySecret=' . $paySecret;