简体   繁体   English

贝宝未集成到Twitter-Bootstrap

[英]Paypal not integrating into Twitter-Bootstrap

I'm working on a Twitter-Bootstrap site that is using a Paypal Donate button. 我正在使用Paypal Donate按钮的Twitter-Bootstrap网站上工作。 It seems like it is having an integration issue. 似乎有一个集成问题。 The button shows up on the page, but it does't do anything when clicked - other than initiate a "Message Sent" pop up from the contact form immediately preceding it. 该按钮显示在页面上,但单击后不执行任何操作-除了启动紧接其前的联系表单中弹出的“已发送消息”。

I have checked with the host, and everything is go from there. 我已经与房东确认,一切都从那里进行。 I checked with Paypal and they said the code is working. 我与Paypal核对过,他们说该代码有效。 They referred me to one of their specialists who said that the code needed a at the beginning of the code to unwrap it from the rest of the page. 他们将我转介给他们的一位专家,他们说该代码在代码的开头需要a才能将其从页面的其余部分解开。 I made that edit, but it's still not working and the specialist hasn't gotten back to me. 我进行了修改,但仍然无法正常运行,专家还没有回复我。 Can someone explain what the problem is and how to fix it? 有人可以说明问题是什么以及如何解决吗? The site is at http://africanbn.org/ 该网站位于http://africanbn.org/

HTML 的HTML

        </form> <!-- Unwraps Paypal to Allow Processing -->
            <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="PayPal">  
                <input name="cmd" value="_s-xclick" type="hidden">  
                <input name="hosted_button_id" value="8AGYNX8B7PGSQ" type="hidden">
                <input src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="        PayPal - The safer, easier way to pay online!" border="0" type="image">
                <img alt="" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" height="1" border="0" width="1">
             </form>

You have another form above it that it is conflicting with. 您上面有另一种与之冲突的表格。 When the Paypal button is clicked, your contact form submits as well. 单击“贝宝”按钮时,您的联系表单也将提交。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM