NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Implementing Paypal With PHP

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 07-11-2006, 11:13 AM THREAD STARTER               #1 (permalink)
Senior Member
 
thetzfreak's Avatar
Join Date: Nov 2004
Posts: 1,129
thetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nice
 



Implementing Paypal With PHP


A problem I've had for a long time... not necessarily using PHP, how do I do processes when a payment is made with paypal? Until now, I've had to do everything manually: send emails and send products as soon as I get the payment. Maybe I can make everything automated; send an email, send a product download link on payment?

Thanks.
thetzfreak is offline  
Old 07-11-2006, 01:45 PM   #2 (permalink)
NamePros Regular
 
Something Vague's Avatar
Join Date: Mar 2006
Posts: 887
Something Vague is a jewel in the roughSomething Vague is a jewel in the roughSomething Vague is a jewel in the rough
 



Paypal.com's market tools has that exact feature
__________________
http://www.twitter.com/chrisrwilliams -- mention you're a NP'er, and i'll follow you back immediately
Something Vague is offline  
Old 07-12-2006, 08:35 AM THREAD STARTER               #3 (permalink)
Senior Member
 
thetzfreak's Avatar
Join Date: Nov 2004
Posts: 1,129
thetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nice
 



Ah, I see. It's that $20 a month tool. A bit pricey, no?

thetzfreak is offline  
Old 07-12-2006, 09:07 AM   #4 (permalink)
NamePros Regular
 
Something Vague's Avatar
Join Date: Mar 2006
Posts: 887
Something Vague is a jewel in the roughSomething Vague is a jewel in the roughSomething Vague is a jewel in the rough
 



That's not what I saw. Free tool, using their setup wizard. Check again
__________________
http://www.twitter.com/chrisrwilliams -- mention you're a NP'er, and i'll follow you back immediately
Something Vague is offline  
Old 07-12-2006, 01:31 PM   #5 (permalink)
NamePros Regular
Join Date: Feb 2006
Posts: 276
xeno439 is a jewel in the roughxeno439 is a jewel in the roughxeno439 is a jewel in the rough
 



I can show you a cool way to send the user to a unique return page for each product. First you have to set your settings to auto return. Log in to your paypal account. Click profile. Click Website Payment Preferences. Now choose auto return and put in a default address. After that is set up the user will be returned to that address. This is just a beginning though. You must make a button, of course for payment. Don't encrypt the button. After you load the button on your page for product A, you can change the code to add a specific return url for that product.
????: NamePros.com http://www.namepros.com/programming/215832-implementing-paypal-with-php.html

Add this code to that button code:
<input type="hidden" name="return" value="http://www.yoursite.com/yourreturnpage.php" />

Add this code anywhere between all the other <input type= . . . lines
Make sure you change the yoursite.com/yourreturnpage.php to the actual pages you want to use.

This is great for selling digital products and you don't have to spend any money to do it. And if you have another product, do the same thing and change the return url on that button.

Hope this helps. Also be sure to read the TOS of paypal's return page.
xeno439 is offline  
Old 07-15-2006, 02:43 AM   #6 (permalink)
New Member
Join Date: Jul 2006
Posts: 20
Scolls is an unknown quantity at this point
 



Best to use PayPal IPN here. There is comprehensive documentation, plus example php scripts (among other languages), and a sandbox environment for you to do all your testing.

Takes a little bit to get your head around it all first time round, but it makes sense in the end. Nice safe way of ensuring that you're giving access immediately after payment, and only after actual payments - avoid spoofing!
Scolls is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 05:07 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger