Utf8 convert
This commit is contained in:
+8
-8
@@ -1,6 +1,6 @@
|
||||
<?
|
||||
$fk_merchant_id = '65643'; //merchant_id ID ìàçàãèíà â free-kassa.ru https://free-kassa.ru/merchant/cabinet/help/
|
||||
$fk_merchant_key = 'qtzl0igb'; //Ñåêðåòíîå ñëîâî https://free-kassa.ru/merchant/cabinet/profile/tech.php
|
||||
$fk_merchant_id = '65643'; //merchant_id ID мазагина в free-kassa.ru https://free-kassa.ru/merchant/cabinet/help/
|
||||
$fk_merchant_key = 'qtzl0igb'; //Секретное слово https://free-kassa.ru/merchant/cabinet/profile/tech.php
|
||||
|
||||
if (isset($_GET['prepare_once'])) {
|
||||
$hash = md5($fk_merchant_id.":".$_GET['oa'].":".$fk_merchant_key.":".$_GET['l']);
|
||||
@@ -21,14 +21,14 @@ function calculate() {
|
||||
$('#oa').val(sum);
|
||||
}
|
||||
if (sum < min) {
|
||||
$('#error').html('Ñóììà äîëæíà áûòü áîëüøå '+min);
|
||||
$('#error').html('Сумма должна быть больше '+min);
|
||||
$('#submit').attr("disabled", "disabled");
|
||||
return false;
|
||||
} else {
|
||||
$('#error').html('');
|
||||
}
|
||||
if (desc.length < 1) {
|
||||
$('#error').html('Íåîáõîäèìî ââåñòè íîìåð çàÿâêè');
|
||||
$('#error').html('Необходимо ввести номер заявки');
|
||||
return false;
|
||||
}
|
||||
$.get(url+'?prepare_once=1&l='+desc+'&oa='+sum, function(data) {
|
||||
@@ -39,15 +39,15 @@ function calculate() {
|
||||
}
|
||||
</script>
|
||||
|
||||
<h2>Îïëàòà ÷åðåç <a href="https://wwww.free-kassa.ru">free-kassa.ru</a></h2>
|
||||
<h2>Оплата через <a href="https://wwww.free-kassa.ru">free-kassa.ru</a></h2>
|
||||
<div id="error"></div>
|
||||
<form method=GET action="https://www.free-kassa.ru/merchant/cash.php">
|
||||
<input type="hidden" name="m" value="<?=$fk_merchant_id?>">
|
||||
<input type="text" name="oa" id="sum" id="oa" onchange="calculate()" onkeyup="calculate()" onfocusout="calculate()" onactivate="calculate()" ondeactivate="calculate()"> Ââåäèòå ñóììó äëÿ îïëàòû
|
||||
<input type="text" name="oa" id="sum" id="oa" onchange="calculate()" onkeyup="calculate()" onfocusout="calculate()" onactivate="calculate()" ondeactivate="calculate()"> Введите сумму для оплаты
|
||||
<input type="hidden" name="s" id="s" value="0">
|
||||
<br>
|
||||
<input type="text" name="o" id="desc" value="" onchange="calculate()" onkeyup="calculate()" onfocusout="calculate()" onactivate="calculate()" ondeactivate="calculate()"> Íîìåð çàÿâêè*
|
||||
<input type="text" name="o" id="desc" value="" onchange="calculate()" onkeyup="calculate()" onfocusout="calculate()" onactivate="calculate()" ondeactivate="calculate()"> Номер заявки*
|
||||
<br>
|
||||
<input type="submit" id="submit" value="Îïëàòèòü" disabled>
|
||||
<input type="submit" id="submit" value="Оплатить" disabled>
|
||||
</form>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user