Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

This donate form not working in AMP pages. Why? How to make it work?

I replaced action -> action-xhr

<form action-xhr="https://yoomoney.ru/quickpay/confirm.xml" method="POST" target="_blank">
        <input name="receiver" type="hidden" value="410014290583141">
        <input name="quickpay-form" type="hidden" value="donate">
        <input name="targets" type="hidden" value="Donate for User">
            <input name="paymentType" type="radio" id="radio1" value="AC" checked=""><label for="radio1">From a bank card</label>
            <input name="paymentType" type="radio" id="radio2" value="PC"><label for="radio2">From the YuMoney account</label>
            <input name="paymentType" type="radio" id="radio3" value="MC"><label for="radio3">From mobile account</label>
<input name="sum" type="number" aria-label="Enter the amount" placeholder="Enter the amount" required="required">
        <input name="formcomment" type="hidden" value="Donate for User">
        <input name="short-dest" type="hidden" value="Donate for User">
        <textarea name="comment" aria-label="Comment (optional)" placeholder="Comment (optional)"></textarea> 
<input type="submit" value="Donate">
</form>

Work form https://vhost155915.ispsite.ru/classic_html_work_form.html

Not work form https://vhost155915.ispsite.ru/AMP_NOT_work_form.html

enter image description here

Please help me.

Sorry for My English.

question from:https://stackoverflow.com/questions/65869979/donate-form-not-work-in-amp-pages-how-to-fix

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
516 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...