Sign Up! Login: Password: New User? Forgot? Support
Code 
 
 
Forums 
Forums : Custom Widgets > Paypal donation button
Mottie (SuperAdmin) 7/29/2008 8:25 AM EST : Paypal donation button
ACK!
Mottie
Posts: 3884

0
Like

0
Dislike

How to add a Paypal donate button

GuildPortal admin site link to original post

Site setup

  • Create a new "Free Form Text/HTML" content box where you want the button to be placed.

  • Decide which method you wish to have the paypal window open: New window (with text or image) or a pop-up window. Then copy (Ctrl-C) the code from below and paste (Ctrl-V) it into your content box - make sure you're in HTML mode () when you paste it.

    New Window (Text Link)
    <center>
    DONATE TO THE SITE!
    <br><a target="_blank" href="PAYPAL LINK FOR EMAIL">
    DONATE TEXT
    </a></center>

    New Window (Image Link)
    <center>
    DONATE TO THE SITE!
    <br><a target="_blank" href="PAYPAL LINK FOR EMAIL">
    <img src="BUTTON IMAGE URL">
    </a></center>

    Pop-up Window
    <center>
    DONATE TO THE SITE!
    <br><input onclick="window.open('PAYPAL LINK FOR EMAIL', 'newwindow', 'height=800,width=800,toolbar=yes,menubar=no,scrollbars=yes,resizable=yes,location=no,directories=no,status=no')" value="Donate" type="image" src="BUTTON IMAGE URL">
    </center>

  • Replace the blue text with a description of what the button is going to be used for: "Maintain our web site" or "Donate for ventrilo"... whatever you want.

  • For the Pop-up Window, edit the height and width size in purple (default set to 800 x 800 pixels) if you want to change the size of the pop-up window.

  • Replace the button image URL in green with the link to the button you choose below, or insert the link to a button of your own design. Or if you decided to use the text hyperlink, edit the text in red.

    https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif
    https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif
    https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif
    https://www.paypal.com/en_US/i/btn/x-click-but21.gif
    https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif
    https://www.paypal.com/en_US/i/btn/x-click-but04.gif
    https://www.paypal.com/en_US/i/btn/x-click-but11.gif

Getting Your Paypal Info

  • Log into your Paypal account (or make one if you haven't already)

  • Click on the "Merchant Services" tab

  • Under Create Buttons, click on "Donate"

  • Fill in the following (add the appropriate information):

    Donations name/service:
    Donation ID/number (optional):
    Amount:
    Currency:
    Donor's default country:


    Choose a button style: (Pick anything. It won't matter because you've already picked one above)

    Button encryption: NO

  • Click the "Create Button Now" button at the bottom

  • Get the code in the "Link for Emails:" box by clicking the "Select All" button below the box, then copying it (Ctrl-C). It should start out something like this:

    https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business= ..... &charset=UTF%2d8
  • Paste this link back into your content box, replacing the orange text and you're done!
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

 
 
Key 
New posts No new posts
New posts ( popular ) No new posts ( popular )
New posts ( sticky ) No new posts ( sticky )
New posts ( locked ) No new posts ( locked )
 
 
Who's Online 
There are   members online.
 
 
So-and-so has logged on!
%title%
%message%