<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();?>
<?
$arOrder = CSaleOrder::GetByID($_GET['ORDER_ID']);
?>
<form action="https://www.portmone.com.ua/gateway/" method="post">
<input type="hidden" name="payee_id" value="ВАШЕ ID" />
<input type="hidden" name="shop_order_number" value="<?=$_GET['ORDER_ID']?>" />
<input type="hidden" name="bill_amount" value="<?=$arOrder["PRICE"]?>"/>
<input type="hidden" name="description" value="Заказ <?=$_GET['ORDER_ID']?> от <?=$arOrder["DATE_INS ERT"]?>"/>
<input type="hidden" name="success_url" value="http://ВАШ САЙТ/good.php" />
<input type="hidden" name="failure_url" value="http://ВАШ САЙТ/bad.php" />
<input type="hidden" name="lang" value="ru" />
<input type="submit" val ue="Оплатить заказ" />
</form>
|