Print Thread
Donate Panel
skpacman
First, you need a PayPal account. (if you already have one, sign in. If not, get an account, add a bank account to it, then continue.)

After you're signed into PayPal, go to the Merchant Services tab.

Next, click the "Create payment buttons for your website" button.

Then, click the big, blue "Create a button" button.

On the new page, change the type to "Donation", type in your organization's name in the box provided, and make any other changes on that first page.

If you would like to save your button for future use, click on the row that says Step 2 and check the box.

The advanced options row is for if you want to use the IPN service or any other advanced features. The PayPal IPN allows you to get notifications back from PayPal when someone donates so you can do stuff on your website based on your user's donations. That can be covered later.

Once you're done, click the yellow "Create Button" at the bottom.

You will be presented with some HTML code that looks something like this:
Download source  Code
<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="XXXXXXXXXXXXX">
<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">
</form>





You can't just stick that in a panel, though. You need to php-fusion-ize it:
Download source  Code
openside("Donate");
?>

<!-- PAYPAL CODE HERE -->

<?php
closeside();




Paste the whole thing into a panel (left, right, whatever), enter your admin password, change the visibility if needed, save it, and enable it.

Now when someone clicks on Donate on your site and their donation is successful, you get money! :)

There are several options I didn't cover here that will need explanations later on, but for now, this will get you started.

There are 10 kinds of people in this world.
Those who understand binary,
and those who don't...
 
ginny
wow, thanks. Just got all of my internet fixed and working.

will do this in the morning and all I can say is thanks so much...

love ya bunches,

ginny


Heart
rock and roll lives...
 
ginny
I cannot get it to come up, it seems I cannot get panel filenme in place. how do I create a donate_panel name in thee?

thanks,

ginny

any ideas.
rock and roll lives...
 
ginny
I hav tried everything and cannot get panel filename in place. it must be simple but my mind is gone.

please help if you would.

ginny

is there some one who would do it for me, we have a small budget but are willing to pay for the time.
rock and roll lives...
 
skpacman
Fill out the donate panel as below. The highlighted fields are required.

www.php-fusion.us/forum/attachments/donate_panel.png

When you're done, click Save Panel. You should be redirected to the panel admin page.

Make sure the panel is active. If the line isn't faded and shows a "disable" button (highlighted below), then it's active.
www.php-fusion.us/forum/attachments/donate_panel_line.png

If you still need help, PM me some login details for your site and I'll take a look. I'll need the PayPal code supplied to you and access to the Panels admin section.
skpacman attached the following images:
donate_panel_line.png donate_panel.png


There are 10 kinds of people in this world.
Those who understand binary,
and those who don't...
 
ginny
OK, thank you very much. Not sure what I missed...

love ya,

ginny
rock and roll lives...
 
daimonbok
Thanks, got this working on 9....was trying to figure out a way then saw your donate button and set mine up...
Edited by daimonbok on 07-27-2017 11:33
 
Jump to Forum: