Paypal button shownig incomplete on wordpress page
-
I’m using the Paypal website (https://www.paypal.com/buttons/smart) to generate a Paypal button (variable price in GBP) and click on ‘copy code’

When I paste the code on my wordpress page, it only shows part of the code when it should show the 2 yellow and black buttons too. Alos, I’m not sure what’s the top empty rectangle for. Any idea?
Thank you
Mona

-
I’ve managed to get visuals and the drop down menu with price option. I’ve done that by using the ‘Buy Now’ option instead of the ‘smart button’ option

The problems now are that it opens to a ‘Sorry that page doesn’t exist’ page and it opens on the same tab.

I would like a working link that opens in a new tab please. Can you help please?
-
Hi @monakas1 , can you send a link to the site?
Also, these forums are for the sites hosted and managed here at WordPress.com, vs. sites using WordPress code with another host. If you’re not sure about your site, send a link, and we can point you in the right direction.
If it is definitely hosted somewhere else, we’d recommend checking in with PayPal support first, then searching and posting in the forums for the free WordPress software if you need more help: https://wordpress.org/support/forums/
-
Hi,
The website page address is https://www.monakastell.com/healing/
I’ve looked through all the forum questions before posting and couldn’t find an answer.
It is hosted somewhere else so I’ll contact Paypal directly then. Thank you.
-
Hi, I’ve been in touch with Paypal directly. This is what they say:
“I’ve tested the button codes you sent us and they worked without any problems. Please look at the screenshot below: monacheckout

I had a look at your website, and I noticed that they are embedded in a different way, the code is not the same as the code you sent us. Take a look at the screenshots below: mona, mona2


Can you see that the HTML input tags is outside the HTML form tag? And also, the following input tag is missing inside the form tag:
<input type=”hidden” name=”cmd” value=”_s-xclick”>
If you look at the button codes you sent us, you’ll see that these HTML input tags is inside the form tag. It is between the form tag and the table tag.
I believe that by pasting the code on your website, your website platform is somehow changing the code.
Could you please try contacting your website platform support or your developer, asking why when you paste your button code in you page, it is being changed?”
——
Those are the codes used. I copy them directly from Paypal button maker and paste them in the ‘Text’ part of my page.
FIRST ONE
<form target=”paypal” 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=”22H2MXKGJABPN”>
<table>
<tr><td><input type=”hidden” name=”on0″ value=”Income based sliding scale exchange”>Income based sliding scale exchange</td></tr><tr><td><select name=”os0″>
<option value=”High income”>High income £95.00 GBP</option>
<option value=”Medium income”>Medium income £90.00 GBP</option>
<option value=”Low income”>Low income £65.00 GBP</option>
<option value=”Benefits/no income”>Benefits/no income £50.00 GBP</option>
</select> </td></tr>
</table>
<input type=”hidden” name=”currency_code” value=”GBP”>
<input type=”image” src=”https://www.paypalobjects.com/en_US/i/btn/btn_cart_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_GB/i/scr/pixel.gif” width=”1″ height=”1″>
</form>
SECOND ONE
<form target=”paypal” 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=”8X67HNQNTPAKA”>
<table>
<tr><td><input type=”hidden” name=”on0″ value=”Income based sliding scale exchange”>Income based sliding scale exchange</td></tr><tr><td><select name=”os0″>
<option value=”High income”>High income £135.00 GBP</option>
<option value=”Medium income”>Medium income £120.00 GBP</option>
<option value=”Low income”>Low income £105.00 GBP</option>
<option value=”Benefits/no income”>Benefits/no income £90.00 GBP</option>
</select> </td></tr>
</table>
<input type=”hidden” name=”currency_code” value=”GBP”>
<input type=”image” src=”https://www.paypalobjects.com/en_US/i/btn/btn_cart_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_GB/i/scr/pixel.gif” width=”1″ height=”1″
</form>
-
Thanks for that! Your site is not hosted with us, so we’re limited in what we can help with and advise. But I can get you pointed in the right direction to get help.
To avoid confusion, there are three different “WordPress” at play here:
- The free, open-source WordPress software which powers your website.
- WordPress.org which is the open-source project that works on the WordPress software and where you can get the software for free to use on your own hosting provider.
- WordPress.com which is a managed hosting provider of the WordPress software and with whom you’re contacting now.
The good news is that because you use the open-source variant of the WordPress platform (which functions differently than what we offer here on WordPress.com), help is available at the community forums here:
https://wordpress.org/support/forum/how-to-and-troubleshooting/
The folks in the open-source forum are more familiar with these issues and are in the best position to help.
I hope this points you in the right direction.
-
- The topic ‘Paypal button shownig incomplete on wordpress page’ is closed to new replies.