Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleПример создания счета для работы с операциями по расписанию
collapsetrue
<?php
    $eshopId = "456093";
    $orderId = 1; 
    $serviceName = 'Оплата заказа 1'; 
	$recipientAmount = 10.00;
    $recipientCurrency = "RUB";
    $email = "test@mail.ru"; 
	$recurringType = "Activate";
    $secretKey = 'mySecretKey'; 

	$hash_str = $eshopId."::".$orderId."::".$serviceName."::".$recipientAmount."::".$recipientCurrency."::".$recurringType."::".$secretKey;
    $hash = md5($hash_str);
?>

<form action='https://merchant.intellectmoney.ru/ru/' enctype="application/x-www-form-urlencoded">
    <input id='eshopId' type='hidden' value='<?=$eshopId?>' name='eshopId'/>
    <input id='orderId' type='hidden' value='<?=$orderId?>' name='orderId'/>
    <input id='serviceName' type='hidden' value='<?=$serviceName?>' name='serviceName'/>
    <input id='recipientAmount' type='hidden' value='<?=$recipientAmount?>' name='recipientAmount'/>
    <input type='hidden' value='<?=$recipientCurrency?>' name='recipientCurrency'/>
    <input id='user_email' type='hidden' value='<?=$email?>' name='email'/>
    <input id='recurringType' type='hidden' value='<?=$recurringType?>' name='recurringType'/>
    <input type='hidden' name='hash' value="<?=$hash?>" />
    <input type=submit value='createInvoce' /><br/>
</form>

...

Создание счета через личный кабинет IntellectMoney

  1. Переходим в раздел

...

  1. Прием платежей

...

  1. .

Image Removed

  1. Выбираем

...

  1. Выставление счета на

...

  1. e-mail.
  2. Выбираем магазин и заполняем данные.

...

  1. В разделе Расширенные опции

...

  1. .
  2. Активируем опцию Инициировать рекарринг

...

  1. .

Image Removed

Image Removed

  • Нажимаем "Выставить счет" и в ссылке всплывающего окна будет указан номер счета.

Image RemovedImage AddedImage Added