944,134 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Marked Solved
  • Views: 1879
  • PHP RSS
Nov 1st, 2009
0

paypal integration

Expand Post »
Hi
I need to integrate paypal gateway on my website. We sell memberships. There is a trial period for using some features of the website. After that users must purchase their memberships - it can be a mounth or 6 mounths or a year.

Now, I could dynamically generate the paypal button, but, I need to know how do I get the response and confirmation, then when users finish the paying, their memberships must be updated.
AND I HAVE NO IDEA HOW TO IMPLEMENT THAT.
and, I could not find the appropriate tutorial
PLZ help .. I need a clear and step by step tutorial because I fed up from searching in that topic.

I count on u guys

thanks
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Eman84 is offline Offline
12 posts
since Jul 2009
Nov 1st, 2009
0
Re: paypal integration
Paypal has a whole section of their website dedicated to this subject, along with their own support forums. You will probably get all the info you need there
Reputation Points: 96
Solved Threads: 124
Master Poster
Will Gresham is offline Offline
728 posts
since May 2008
Nov 1st, 2009
1
Re: paypal integration
You may find that this helps to make it easy:
php-paypal-ipn-integration-class
Reputation Points: 210
Solved Threads: 228
Nearly a Posting Virtuoso
chrishea is offline Offline
1,389 posts
since Sep 2008
Nov 3rd, 2009
0
Re: paypal integration
@ Will Gresham
their forums are read-only in the mean time because they are moving, and, I could not access their new website.

@chrishea
I have download this before, and, I will try to work on it again, but, I still need some guidance ..
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Eman84 is offline Offline
12 posts
since Jul 2009
Nov 3rd, 2009
0
Re: paypal integration
There are many tutorials on the web even outside paypal. The IPN is very helpful and can be used for what you are requesting - I suggest setting up a subscription button for however long as paypal will notify a certain script when it runs out.

It works a bit like this:

Once the person has paid, paypal sends a bunch of information to your script, you must parse through this information and find out why paypal is accessing this script i.e. payment made, payment cancelled. Using passthrough variables you can find out what user made the request and your script can modify your site accordingly.
Reputation Points: 13
Solved Threads: 13
Junior Poster
liamfriel is offline Offline
101 posts
since Oct 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Bulk Uploading Audio files to FTP?
Next Thread in PHP Forum Timeline: Making an Admin page





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC