Can anyone please tell me how to change a PayPal buy button to a text link? Thanks. Here is the code:
<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="XXX">
<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>
In your PayPal account, create a website button, then click the Email tab and copy the link. ... Click on the PayPal button in your email and click Link > Web Page. Paste the URL into the field. Click Insert.
The code you need is:
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XXX">Text goes here</a>
Replace XXX
with whatever your button code is and replace Text goes here
with whatever text you wish to show.
The XXX
is the hosted button ID, which is usually a 13 character value such as H6C28LJRV72J2
.
Did you try this? https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XXX
You need to replace XXX of course.
The HTML-Code would look like this: Your Text
For example one with working button id: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7865
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With