PHP Classes
Icontem

Class: paypal_ipn


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Herve FOUCHER  >  paypal_ipn  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: paypal_ipn Support forum
Base name: paypal_ipn
Description: Paypal payment notification processing
Related top rated classes: , , ,
Version: -
Required PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 3783 users
All time rank: 477
Week users: 12 users
Week rank: 583
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Herve FOUCHER
Name: Herve FOUCHER <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: France France - PHP jobs in France
Home page: ???
Age: ???
All time rank: 501
Week rank: 541

Groups

Group folder image E-Commerce Online stores, shopping baskets and payment methods View top rated classes
Group folder image Finances Money, exchanging, taxes and stocks View top rated classes

Detailed description

This class is usefull to process Instant Payment Notification (IPN) from Paypal.
See www.paypal.com for more information about IPN.

Note : This class requires cURL PHP module.

So... how should I use this ? This requires that:
a) you already know what IPN is
b) you setup your Paypal account so that IPN are sent to a URL on your website
In this example, let's consider it is http://yourserver.com/backoffice/ipn.php

1) Paypal server posts a request to http://yourserver.com/backoffice/ipn.php
2) Create the IPN object: $pp = new paypal_ipn ();
3) Provide the IPN object with 2 functions: the first one will be called as soon as you receive the post. The second one will be called when Paypal's server
confirms or denies your response.
$pp->set_process_functions ("my_pre_processing", "my_post_processing");
4) Pass the POST table to the Paypal processor
$pp->process_notification ($_POST, true);
5) The "my_pre_processing" function is automatically called
6) The class calls-back Paypal secure server, using cURL and Paypal server
confirms or denies your response.
7) The "my_post_processing" function is automatically called

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (82.7%)
Sufficient (71.2%)
-
Not sure (59.6%)
Not sure (55.8%)
-
Sufficient (60.0%)
685
Month:
Not yet rated by the users

Applications that use this class

Link Description
French Tutorial A french tutorial. paypal_ipn class was developped to provide easy IPN management on this website's Deluxe Edition (under dev).
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file example.php Example Usefull for testing i_paypal.php
Plain text file i_paypal.php Class The file containing the class to be included
Plain text file virtual_paypal.php Test A fake and random (either INVALID or VERIFIED) Paypal server response
Download all files: paypal_ipn.tar.gz paypal_ipn.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products