简体   繁体   中英

Paypal not integrating into Twitter-Bootstrap

I'm working on a Twitter-Bootstrap site that is using a Paypal Donate button. 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. 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. 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/

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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