E
E
ElenaWeb2020-07-26 07:41:47
YuMoney
ElenaWeb, 2020-07-26 07:41:47

How to transfer data from contact form to Yandex wallet?

There is cintact form 7 with the Cost Calculator plugin.

Which, using a formula, displays a certain calculator in the order form.

<div class="form-contact"> 
<div class="contact"> 

<div class="name-contact">Ваше имя</b>
    [text* your-name]</div>
<br />
<div class="name-contact">Ваш e-mail</b>
    [email* your-email]</div>
</div>

<i>Что крутим ?</i>

<div class="check">Группу [checkbox checkbox-736 class:checks "4"]  <b>₽</b> - подписчик</div>
<div class="check">Профиль [checkbox checkbox-737 class:checks "3"]  <b>₽</b> - подписчик</div>


<div class="name-contact">
Укажите ссылку на вашу группу либо профиль
    [url* url-289]
</div>

<div class="name-contact">
Укажите количество подписчиков
</div>

[rangeslider rangeslider-304 min:0 max:10000 step:100 color:#000000 calslider:left caltoltip:top]

<div class="calc">[calculator calculator-176 "checkbox-736*rangeslider-304*1+checkbox-737*rangeslider-304*1"] <b>рублей</b></div>


[submit "Заказать"]

</div>


It is necessary to transfer full [email* your-email] and [calculator calculator-176 "checkbox-736*rangeslider-304*1+checkbox-737*rangeslider-304*1"] to the Yandex payment form
Substituting

[email* your-email] to and [calculator calculator-176 "checkbox-736*rangeslider-304*1+checkbox-737*rangeslider-304*1"] to , so that after filling out one form, a person receives data from vending machines in the second.

<form method="POST" action="https://money.yandex.ru/quickpay/confirm.xml">
    <input type="hidden" name="receiver" value="41001xxxxxxxxxxxx">
    <input type="hidden" name="formcomment" value="Проект «Железный человек»: реактор холодного ядерного синтеза">
    <input type="hidden" name="short-dest" value="Проект «Железный человек»: реактор холодного ядерного синтеза">
    <input type="hidden" name="label" value="$order_id">
    <input type="true" name="need-email" value="true"> 
    <input type="true" name="sum" value="4568.25" data-type="number">
    <label><input type="radio" name="paymentType" value="PC">Яндекс.Деньгами</label>
    <label><input type="radio" name="paymentType" value="AC">Банковской картой</label>
    <input type="submit" value="Перевести">
</form>


How can this be implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly Kulikov, 2020-07-26
@anatoly_kulikov

With the help of js, the most obvious option is to set up changes in fields and transfer them from one input to another.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question