
July 25th, 2004
07:11 AM
paypal ipn?
Hi all,
I'm interested in making a donation form, yet im alittle confused. I've got a form with a couple things like Name, Email, Payment Amount, and Comments. When the user clicks submit, im hoping to get the form to redirect to a Paypal pay page (try saying that 3 times fast!), while the amount gets forwarded to the pay page, and the other variables (such as email), get emailed to me. At the end of the transaction, the user would get forwarded back to my site. I've seen this done-although I can't figure it out.
Thanks!
___________________
A really sweet history forum

July 25th, 2004
07:17 AM
Programmer
Status: Offline!
See, you don't need IPN. You just need to include with your Paypal link a return link for if the transaction goes through. Paypal automatically will email you when you get a donation, and if you pass all the variables how Paypal likes it, it will include them in the email saying you received money. Using IPN is going to be a pain in the rear as compared to the other option.
___________________
Swastika/Sauvastika: 1 2 3 4 5 6 7 8 9

July 25th, 2004
07:23 AM
Neverside Newbie
Status: Offline!
Originally posted by Sekkusu
See, you don't need IPN. You just need to include with your Paypal link a return link for if the transaction goes through. Paypal automatically will email you when you get a donation, and if you pass all the variables how Paypal likes it, it will include them in the email saying you received money. Using IPN is going to be a pain in the rear as compared to the other option.
argreed
___________________
0111000111100111100111110000111010101110000
Hi! I'm a signiture virus !!!
Copy me into your signature to help me spread.

July 25th, 2004
07:25 AM
Originally posted by Sekkusu
See, you don't need IPN. You just need to include with your Paypal link a return link for if the transaction goes through. Paypal automatically will email you when you get a donation, and if you pass all the variables how Paypal likes it, it will include them in the email saying you received money. Using IPN is going to be a pain in the rear as compared to the other option.
I see...any way to point me in the right direction?
___________________
A really sweet history forum

July 25th, 2004
07:34 AM
Programmer
Status: Offline!
Give me about 5 minutes, I have to find an example, I think I know where to look, though.
___________________
Swastika/Sauvastika: 1 2 3 4 5 6 7 8 9

July 25th, 2004
07:47 AM
Programmer
Status: Offline!
Here's the code for your site:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<!-- Change value of business to your paypal registered address.-->
<input type="hidden" name="business" value="donate@domain.com">
<input type="hidden" name="item_name" value="Donate">
<input type="hidden" name="on0" value="Donator">
<!-- Have server set os0 equal to the username or userid of the donator.-->
<input type="hidden" name="os0" value="500">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<!-- Change value of "return" to match Thank You page.-->
<input type="hidden" name="return" value="http://www.domain.com/thanks.html">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
___________________
Swastika/Sauvastika: 1 2 3 4 5 6 7 8 9

July 25th, 2004
10:28 AM
thanks!
___________________
A really sweet history forum