Transfer of order information
In some cases, it is necessary to send data on the composition of the order to the form of payment, such as the name of the product / service, quantity and cost. To do this, you need to include the receipt parameter in the request, for example:
<form action="" method="post">
<input type="hidden" name="shop_id" value="D0F98E7D7742609DC508D86BB7500914">
<!-- Product 1 -->
<input type="hidden" name="receipt[items][0][name]" value="Example 1">
<input type="hidden" name="receipt[items][0][count]" value="1">
<input type="hidden" name="receipt[items][0][price]" value="20">
<!-- Product 2 -->
<input type="hidden" name="receipt[items][1][name]" value="Example 2">
<input type="hidden" name="receipt[items][1][count]" value="2">
<input type="hidden" name="receipt[items][1][price]" value="40">
<!-- the total amount of payment must be equal to the sum of all goods! -->
<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="Оплатить">
Attention! This form must be sent to our payment URL using the POST method
Copy link