If you’ve ever been provided the normal PayPal form code but you don’t have access to the account and need to make a quick static link, suitable for emails, texting campaigns, or embedding on your facebook or other webpage here is a quick tutorial.
This is really simple and can really be done even if you have no experience with HTML.
The code you have probably looks something like this. This is basically what you would use if you were going to ask some questions of the user. For instance when you’re signing up for an account, the fields are probably all form fields.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
< input type="hidden" name="cmd" value="_s-xclick">
< input type="hidden" name="hosted_button_id" value="5JCPPLMRTVHKJD332">
< input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_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">
Paypal has basically said the action of this form (what server to send the data to) is https://www.paypal.com/cgi-bin/webscr. Each of the inputs get added to the url that you load.
For our needs all we really need is the cmd field and the hosted_button_id value which is in green above. Please note the id I provided is random and hopefully not in use 🙂
You’re basically done and you haven’t even done anything. All you need to do is copy the value after name=”hosted_button_id” in your code and put it at the end of this https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=
If you did it right you should have something like this. If you have questions drop a comment!