Buy Now Button will not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to add a buy now button to my website but each time I click on the button it just takes me to a blank website that has my site's web address. The code is as follows.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="7S2K2Z9DFAYUA">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi JKaper,
Welcome to the community! 🙂
The button code you provide is working for me. It sounds like there might be some HTML or Javascript on your webpage that could be interfering with or modifying this button code.
Hopefully you found a solution by now but I just wanted to let you know just in case.
- Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Frank. I did get a reponse to my inquiry and I needed to change the first line of code. Everything is working great now!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for letting the community know! 🙂 I'm glad to hear everything is working.
It sounds like they had you add target="paypal" back into the first line. I know that can help if the button is being placed into a frame.
- Frank
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Customer Signature window on IPAD. "SEND" button needs to be RELOCATED in About Payments (Archive)
- Bank withdrawal option no longer available in About Payments (Archive)
- Paypal Express Checkout work locally, but not working on server in About Payments (Archive)
- How long does it take for available credit to restore when a customer returns or cancel a purchase? in About Payments (Archive)
- Paypal charged wrong account in About Payments (Archive)