Paypal button doesn’t work
-
Hello,
I followed all the instructions on your help page on how to add a Paypal button. I tried one example to see if it works on one of my pages. I see the ‘Buy now’ button but when I hover over it, the cursor doesn’t turn into a finger as it should whenever it hovers over a link, and when I try to click on it anyway, it doesn’t load the Paypal checkout page or anything. What am I doing wrong? -
-
This is the link: https://hadass420.wordpress.com/zines/purple-myrtle-squeegy/
Scroll down to “Issue 4 – 24 Hour Zine Thing 2012”.
The “Buy Now” button is right under the photo.
Thanks. -
The button you have there is just an embedded image file. In the HTML you only have this:
<img src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif" alt="Buy Now button" />That button needs to be linked to PayPal for it to become clickable. You can see how to get that link here:
https://wordpress.com/support/paypal/#step-1-get-your-pay-pal-link
Once you have that link, edit the page and click on the button image in the editor. Then click the link icon in the toolbar and paste in the PayPal link.
-
After adding the link, the HTML will look something like this:
<a href="https://www.paypal.com/cgi-bin/webscr..."<img src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif" alt="Buy Now button" /></a> -
-
-
OK, I figured out what the problem is, and you might want to edit that in your article for people who might not be as fluent in HTML.
The image URL you provide already includes the code for “image source” and “alt text”. So when I pasted the entire image URL you give into the formula (in the place where it says IMAGE URL HERE) the image source code is repeated twice and it does not end in gif but rather with the alt text. I hope that makes some sort of sense. I’m trying to explain this without using the actual codes because I realize they do not show on my posts.
In any case, the image URL you provide should be just the URL itself (starting with https and ending with gif) and not including the whole HTML code. It’s confusing.
Anyway, I managed to make it work.
Hurray! -
- The topic ‘Paypal button doesn’t work’ is closed to new replies.