Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include('../../files/functions.php');
- /**
- * @var $settings
- * @var $UserID
- */
- $link = "https://pay.freekassa.ru?";
- $payment_desc = iconv("utf-8", 'windows-1251', "Пополнение баланса ID " . $UserID);
- $hash = md5($settings['FkShopId'] . ":" . $_GET['amount'] . ":" . $settings['FkSecret'] . ":" . $payment_desc);
- $options = [
- 'm' => $settings['FkShopId'],
- 'oa' => $_GET['amount'],
- 'o' => $payment_desc,
- 's' => $hash,
- 'currency' => 'RUB',
- 'us_id' => $UserID,
- ];
- header("Location: " . $link . http_build_query($options));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement