Welcome Guest.   Make a donation to an author on the site November 23, 2014, 02:40:10 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
View the new Member Awards and Badges page.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1] 2 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Instructions for making a PayPal link people can follow to donate money to you  (Read 56665 times)
mouser
First Author
Administrator
*****
Posts: 33,690



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« on: October 21, 2005, 05:24:16 AM »

Here's a little tutorial for how to create a link people can click on to donate to you (note first you have to sign up at PayPal - i won't go into how to do that here):



log in to your paypal account



click "merchant tools" tab




click "donations" in box on right hand side




enter a donation name that will remind you and donator what this is for
(you can leave id number blank or use it to help you keep track of donations from dif places)

fill in a *suggested* donation amount, user can change it as they wish.
select the currency you prefer (or that your donators will prefer).

choose a button image (doesnt matter what you choose if you are only interested in a html link).

choose *NO* for encryption for maximum flexibility in using the link to donate - not a big deal
important: if you don't select NO then you wont get a nice pure url link which is what you want.





Click the "Add More Options" button, and go to the next screen,
and then set "no shipping needed" if its a donation,

and select YES for collect additional info, which just lets people type in a note to you -
(i've seen many a donation page which has forgotten this step which is sad).

you can fill in urls that they will get taken to after donation if you have some, otherwise leave blank.

click "create button now"





you'll then get a page with two results, an html code for websites (it's code for an html form) with the button image,
and a pure url you can paste into emails:

that pure url for emails is exactly what you want for adding to your profile here on donationcoder.com, just copy it and paste it into your paypal donation link in your profile page to get a little dollar sign next to your name that people can click on to go to your paypal donation page.





EXTRA STEPS FOR PUTTING THIS LINK IN YOUR DONATIONCODER.COM FORUM PROFILE:



click on "profile" button on the forum to go to your forum profile





click on "Forum Profile Information" link on left hand sidebar





paste the link you got from paypal site into your "PayPal Link:" field

« Last Edit: February 05, 2010, 10:40:41 AM by mouser » Logged
Carol Haynes
Waffles for England (patent pending)
Global Moderator
*****
Posts: 7,958



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: October 21, 2005, 05:57:24 AM »

Thanks I wondered how you did that (and was too lazy to dig around the PayPal site) ...

I don't know if it is a UK PayPal thing but if you specify an amount (where you say suggested amount) then the PayPal donation page created has that as a fixed amount. On the site it says leave blank if you want people to enter an amount.

Of course it does have the unforunate side effect of making your paypal email address visible on every post you make, and available to spam bots ...

Is there any way to add the encrypted button HTML to signatures? (I'd guess not)
« Last Edit: October 21, 2005, 06:29:01 AM by CarolHaynes » Logged

brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #2 on: October 21, 2005, 06:25:29 AM »

Thanks mouser, that's really helpful! I wonder why PayPal doesn't have such a nice page to tell new users...
Logged

Thank you.
m_s
Charter Member
***
Posts: 432


View Profile Give some DonationCredits to this forum member
« Reply #3 on: October 21, 2005, 09:42:44 AM »

Not sure if I deserve one, but I guess I have contributed a little to the site... Anyway, that was dead easy!  Thanks, Mouser.   thumbs up
Logged
AbteriX
Charter Honorary Member
***
Posts: 1,052


Member #520

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: October 21, 2005, 10:18:37 AM »

And we see again how well works Mr. Mousers Screenshot Captor for such issues  Thmbsup

Screenshot Captor should be shipped with Windows and Mr. Gates should pay mouser well for his great mastermind of coding !
« Last Edit: October 21, 2005, 10:21:12 AM by Stefan » Logged

Greetings, Stefan.
mouser
First Author
Administrator
*****
Posts: 33,690



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: October 21, 2005, 04:24:34 PM »

see i used those numbers this time stefan, and when i get the new round "step #" cliparts then pictures will be even better smiley  Thmbsup
Logged
AbteriX
Charter Honorary Member
***
Posts: 1,052


Member #520

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: October 22, 2005, 07:23:49 AM »

Just an suggestion to use an alternative email address for your PayPal account
'cus your PayPal eMail address will be seen in the source
code of this web side, and so for bots too:

&business=XXXXXXXXXXXXXXXXXX%40XXXXXXXXXXXXXXXXXXXXXXX%2ecom&

;business=XXXXXXXXXXXXXXXXXXXXXXXXXXXX%40gmx%2ede&

mp;business=XXXXXXXXXXXXXXXXXXXX%40gmail%2ecom

%40   means an @-sign
%2e   means an dot
« Last Edit: October 22, 2005, 09:36:25 AM by mouser » Logged

Greetings, Stefan.
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #7 on: October 22, 2005, 08:07:45 AM »

Yes, I know, but spam protection gets better and better anyway  cheesy
Logged

Thank you.
mouser
First Author
Administrator
*****
Posts: 33,690



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: October 22, 2005, 08:43:33 AM »

you know that is a VERY good point!

bots do scan websites and harvest emails for spam...
hmm, ok let's see how can we fix this..
maybe an encrypted paypal link is needed after all somehow...
Logged
mouser
First Author
Administrator
*****
Posts: 33,690



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: October 22, 2005, 08:46:02 AM »

i can have the button point to a script and not the person's email, and write a little script that opens the proper link.
Logged
Carol Haynes
Waffles for England (patent pending)
Global Moderator
*****
Posts: 7,958



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #10 on: October 22, 2005, 09:19:29 AM »

How about allowing user to put a PayPal encrypted button script on their profile page (like you have added the ad control stuff) and then point the icon to the profile for people who have set it up?
Logged

mouser
First Author
Administrator
*****
Posts: 33,690



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #11 on: October 22, 2005, 09:54:49 AM »

i think that would be too much of a security risk..
i suppose if you already have a web page, the easiest thing is to point your donation link to a page on your site with the encrypted form, but for those that don't a solution is still needed.
Logged
Carol Haynes
Waffles for England (patent pending)
Global Moderator
*****
Posts: 7,958



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #12 on: October 22, 2005, 10:15:08 AM »

The encrypted PayPal link code is standard HTML format, you could handle the actual HTML tags (to avoid security issues) and just allow people to enter the encrypted part of the code, which is just an encryption of the email address etc.

Here is mine:

[copy or print]
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7----- Lots of encryption junk -----END PKCS7-----
">
</form>

As far as I can tell the "Lots of encrypted junk" is just that, not executable code. It is decoded on the PayPal page referred to using the PKCS7 routines embedded in the PayPal page.

the first three lines are standard (you could supply them so that you know they are OK along with the <form> tags). The only user customisable bit is the image file used for the button. You could choose that as a site default (or even use a DC specific image for the button).

The only user specific info required is the 'Lots of encrypted junk' which could be cut and paste into a user profile field, and automatically used to generate the button script (a trivial PHP script could do that).

If invalid data is supplied PayPal would not be able to decrypt it and generate its own error (and anyway it would not be ina DC page - so no threat to DC). If some one used somebody elses code they would effectively send all their donations to them, but the same thing could happen now if someone copied another users URL from the 'donate' button on the forum pages!!!

Just a thought.
Logged

mouser
First Author
Administrator
*****
Posts: 33,690



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #13 on: October 22, 2005, 10:23:46 AM »

yes, you are right, if we enforced only having paypal encrypted form field text in that field (or if i allowed a special prefix like "encrypted=" which could be a reasonable solution), then this might be doable.

i really wish paypal had a better way of doing this.. they really should have a simple link with user id# in it or something  thumb down
Logged
mouser
First Author
Administrator
*****
Posts: 33,690



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #14 on: October 22, 2005, 10:43:59 AM »

maybe what would be nice would be a simple javascript function that when you clicked on that link (or email link), brought up a tiny java script form that you have to click a button on before it will redirect you - that should stop any email harvesting and still allow general navigation.  anyone want to help me look for such a mini script?
Logged
mouser
First Author
Administrator
*****
Posts: 33,690



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #15 on: October 22, 2005, 02:43:24 PM »

i've coded up a javascript encryption thing and ill be adding it today, stay tuned.
Logged
Carol Haynes
Waffles for England (patent pending)
Global Moderator
*****
Posts: 7,958



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #16 on: October 22, 2005, 04:51:49 PM »

Don't know what you have done, but my PayPal link no longer works.

It seems that where ever there is an '&' in the URL, specified in my profile, it has been replaced by '&amp;'
Logged

mouser
First Author
Administrator
*****
Posts: 33,690



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #17 on: October 22, 2005, 06:05:02 PM »

i spent MANY HOURS cursing at my computer getting my javascript solution to this to work.
took about 1 hour to code it, 5 hours to figure out why javascript wasn't always working (answer, certain characters were being escaped out during the call).

hope you like the solution.  uses a simple encryption plus a confirmation dialog so people can see EXACTLY where they are being redirected to.

the obfuscation is also used on email links, so if you decide to make your email visible to the world here it will be obfuscated to prevent email harvesting robots as well.

this should keep everyone's email here safe  Thmbsup
Logged
Carol Haynes
Waffles for England (patent pending)
Global Moderator
*****
Posts: 7,958



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #18 on: October 22, 2005, 06:09:51 PM »

Great - seems to be working now ...
Logged

Carol Haynes
Waffles for England (patent pending)
Global Moderator
*****
Posts: 7,958



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #19 on: October 24, 2005, 04:37:59 AM »

One thought - same trick needs to be aimed at Columnist and Program writers pages on the site as they have links to PayPal (and presumably others) coded into their pages ...
Logged

mouser
First Author
Administrator
*****
Posts: 33,690



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #20 on: October 24, 2005, 06:09:06 AM »

good point carol - i'll fix those as well.
Logged
Mark0
Charter Honorary Member
***
Posts: 593


see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #21 on: November 15, 2005, 06:51:51 AM »

It seems that there's some problem in the way the PayPal userid / email address is encoded, or something like that, because following the "$" link lead to this PayPal's page:

Quote
Error detected

We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. Please contact the seller to resolve the problem. If this payment is for an eBay listing, you can contact the seller via the "Ask Seller a Question" link on the listing page. When you have the correct email address, payment can be made at www.paypal.com.

Bye!
Logged

mouser
First Author
Administrator
*****
Posts: 33,690



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #22 on: November 15, 2005, 07:08:00 AM »

mark0 when i click your $ it works fine, at least in ie.  let me check firefox.
Logged
Carol Haynes
Waffles for England (patent pending)
Global Moderator
*****
Posts: 7,958



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #23 on: November 15, 2005, 07:16:03 AM »

Works fine here too (using Maxthon)
Logged

mouser
First Author
Administrator
*****
Posts: 33,690



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #24 on: November 15, 2005, 07:23:04 AM »

it was a firefox vs. ie problem.
fixed now.
Logged
Pages: [1] 2 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.042s | Server load: 0.02 ]