How to make your PayPal button open in a new window

Add this line of code to your PayPal button code to make it open in a new window when clicked:


You would add this to the

section of the button code:

<form target="_blank" action="<a href="" rel="nofollow" target="_blank"></a> method="post">

Meet the author

Libby Fisher is an experienced freelance web developer, recently relocated from Seattle to Boston, and passionate about developing websites that are both aesthetically appealing and intuitively usable - or as she prefers: "beautifully effective."

  • Janet

    Thank you so much for sharing this code and actually where to place it so it works. You would be surprised at the places that told you the code but did not say where it goes.


    • Libby Fisher

      Haha, I didnt realize so many other tutorials did that! thanks for letting me know :)