I am new to paypal integration into a website.I know how to create buy now button, add to cart button, donate button. Yesterday I badly needed a paypal donation link in Hyperlink format that I can add paypal link to my site without the button. But I did not know how to! After three hours i got the solution. Here I try to write a short description on how to get paypal hyperlink code.
After you have created your button in PayPal, in the ‘View Code’ option you are shown two types of code.
One is called the ‘Website’ code. This is placed in a webpage and adds the PayPal button to the page.
The other is called ‘Email code’. This is basically just a hyperlink that can be used in emails, inside anchor etc. or as a text link on your webpage. If you type this link into your browser address bar, it will take you straight to your payment page on the PayPal website.
Now copy the “Email code” and paste into your webpage inside anchor tag.
<a href="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RCMT3XCUB73H8">Donate Now!</a>
Now you can see a Donate Now! link without Donate button and if you click on this link, it will take you straight to your payment page on the PayPal website.