S
S
Sergey Miller2020-07-06 14:40:11
API
Sergey Miller, 2020-07-06 14:40:11

How to make a link to pay Yandex Checkout?

The task is to make the transition to the cashier by clicking on the button located in the user's personal account.
If I understood correctly, then in the old Yandex Checkout API it was possible to implement this using

<form action="" method="post">
<Input type="hidden" value="мой shop-ID">
<Input type="hidden" value="мой sc-ID">
<Input type="hidden" value="100.0"> <!--сумма-->
<Input type="hidden" value="RUB"> <!--валюта-->
..... остальные поля
</form>


The new version does not have this, but there is a widget. However, it doesn't suit me.
Because the price for the checkout will have to be specified in the "amount" parameter. And the thing is, the price will always be different. And here's how to be?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question