Answer the question
In order to leave comments, you need to log in
How to set up a Yandex.money payment button?
How to set up a Yandex.money payment button?
a) a site on a plp-constructor
b) a payment method for an information product - Yandex money (since an individual)
c) the Yandex Money system makes it possible to create a button or form (BUT NOT A LINK) with auto-completion on my behalf of a certain amount (for example, 199 rubles and this amount later during the transaction, the user who wants to buy cannot change in the amount column) and a comment on the product (I I write the name, for example, a beauty marathon), among other things, when creating a form / button in the Yandex money system, and ADDITIONAL SETTINGS (it is important for me that the user who pays for my product enters his data, mail, name, phone, so that I can then understand who paid who did not paid for the product) and the icing on the cake(!!!) - after payment I need to transfer it to the cloud with the product - for this, in the additional settings of the form / button, I enter a link to this cloud in the REDIRECT column
e) I go to my plp - and put all this crap formed by Yandex into my button in the HTML button block ... I see an even bigger crap - I just put an ugly Yandex button on my beautiful site
e) with grief in half I find a programmer of a friend
he creates on my beautiful button, the JavaScript action
$("#go_to_pay").submit()
g) creates code for the invisible block of the HTML block on the site
<form method="POST" action="https://money.yandex.ru/quickpay/confirm.xml" id="go_to_pay">
<input type="hidden" name="receiver" value="номер кошелька яндексовского">
<input type="hidden" name="formcomment" value="Онлайн-запись">
<input type="hidden" name="short-dest" value="Краткое описание">
<input type="hidden" name="label" value="$order_id">
<input type="hidden" name="quickpay-form" value="donate">
<input type="hidden" name="targets" value="транзакция {order_id}">
<input type="hidden" name="sum" value="199" data-type="number">
<input type="hidden" name="comment" value="Онлайн-запись">
<input type="hidden" name="need-fio" value="true">
<input type="hidden" name="need-email" value="false">
<input type="hidden" name="need-phone" value="true">
<input type="hidden" name="need-address" value="false">
<input type="hidden" name="paymentType" value="AC">
</form>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question