Skip to content

Commit

Permalink
Update Response.php
Browse files Browse the repository at this point in the history
  • Loading branch information
shaxzodbek-uzb authored Dec 22, 2020
1 parent 0415b45 commit ef06235
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Http/Classes/Click/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ public function send(){
$params = PaymentSystemService::getPaymentSystemParamsCollect(PaymentSystem::CLICK);
$timestamp = time();
$digest = sha1($timestamp . $params['secret_key']);
return $this->result;

if(env('APP_ENV') != 'testing')
header('Content-Type: application/json; charset=UTF-8');
echo json_encode($this->result);
}
}

0 comments on commit ef06235

Please sign in to comment.