Skip to content

Commit

Permalink
Changed Merchant api url. Removed unused system ip
Browse files Browse the repository at this point in the history
  • Loading branch information
sdelfi authored Feb 18, 2021
1 parent 4295a8b commit 1b9339b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Merchant.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/
class Merchant extends Component
{
const BASE_API_URL = "http://www.free-kassa.ru/api.php";
const BASE_API_URL = "https://www.free-kassa.ru/api.php";

const CONFIRMATION_RESPONSE_TEXT = 'YES';

Expand Down Expand Up @@ -86,7 +86,7 @@ class Merchant extends Component
* @var array
*/
public $systemIPs = ['136.243.38.147', '136.243.38.149', '136.243.38.150', '136.243.38.151',
'136.243.38.189', '88.198.88.98', '136.243.38.108'];
'136.243.38.189', '136.243.38.108'];

/** @var string used for creating the hash to send merchant form (in API doc see 'secret1') */
public $merchantFormSecret;
Expand Down Expand Up @@ -394,4 +394,4 @@ protected static function formatAmount($amount)
{
return number_format($amount, 2, '.', '');
}
}
}

0 comments on commit 1b9339b

Please sign in to comment.