Transferring Order Information
In some cases, it's necessary to send order composition data to the payment form, such as product/service name, quantity, and price. To achieve this, you need to include the receipt
parameter in your request, for example:
<form method="post">
<input type="hidden" name="shop_id" value="D0F98E7D7742609DC508D86BB7500914">
<!-- Item 1 -->
<input type="hidden" name="receipt[items][0][name]" value="Sample Service">
<input type="hidden" name="receipt[items][0][count]" value="1">
<input type="hidden" name="receipt[items][0][price]" value="20">
<!-- Item 2 -->
<input type="hidden" name="receipt[items][1][name]" value="Sample Service 2">
<input type="hidden" name="receipt[items][1][count]" value="2">
<input type="hidden" name="receipt[items][1][price]" value="40">
<!-- the total payment amount should equal the sum of all items! -->
<input type="hidden" name="amount" value="100">
<input type="hidden" name="order_id" value="123">
<input type="hidden" name="lang" value="ru">
<input type="hidden" name="currency" value="RUB">
<input type="hidden" name="payment_system" value="11">
<input type="hidden" name="fields[email]" value="[email protected]">
<input type="hidden" name="sign" value="e51845e62b106d245cc96c431d8aae42">
<input type="submit" value="Pay">
</form>
Attention! This form should be sent to our payment URL using the POST method.