Вход Регистрация
Файл: plugins/payment/tpl/yandex.tpl.php
Строк: 42
<?
// Подпись формы платежа
$hash sha1($pay_id.$pay_cost.$SECRET_KEY);

// Подпись с данными
$sign base64_encode($pay_id.':'.$hash);

?>
<form id="payment" name="payment" action="https://money.yandex.ru/quickpay/confirm.xml" method="POST">    
  <input type="hidden" name="receiver" value="<?= $PURSE?>">    
  <input type="hidden" name="formcomment" value="<?= $pay_desc?>">    
  <input type="hidden" name="short-dest" value="Номер счета №<?= $pay_id?>">    
  <input type="hidden" name="label" value="<?= $sign?>">    
  <input type="hidden" name="quickpay-form" value="shop">    
  <input type="hidden" name="targets" value="Оплата счета №<?= $pay_id?> - <?= $pay_desc?>">    
  <input type="hidden" name="sum" value="<?= $pay_cost?>" data-type="number" >  
  <input type="hidden" name="paymentType" value="PC" checked="" />
  <button type="submit" class="btn btn-success"><?= __('Оплатить')?> <?= $pay_cost?> руб.</button>
</form>
Онлайн: 0
Реклама