Integration
When the store confirmation is complete, you will be allowed to get a Store ID to indentify requests.
Add a checkout form
Send the payment data using the POST method to the URL of the route you set up for handling this data on your server application. On the form
tag the action
defines where you want to send the data you collect from your user. This is the URL of the route you set up for handling this data on your server application
<form action="/your-node-server-route-name" method="POST">
<input type="hidden" name="store_id" value="D0F98E7D7742609DC508D86BB7500914">
<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="submit" value="Checkout">
</form>
Add endpoint
You need to add a Payment endpoint on your marketplace server that creates an order payment session. The order payment session transmits the data that the buyer sees on the payment page, such as row elements, order amount and currency, as well as the allowed payment methods.
Last updated