PayPal IPN Class 1.0

Rating:        Based on 4 ratings
Reviewed:  2 reviews
Downloads: 6970
Released: Aug 7, 2009
Updated: Aug 8, 2009 by wtroom
Dev status: Stable Help Icon

Recommended Download

Source Code PayPalIPNCSharp
source code, 8K, uploaded Aug 8, 2009 - 4187 downloads

Other Available Downloads

Source Code PayPalIPNVB
source code, 9K, uploaded Aug 8, 2009 - 2783 downloads

Release Notes

Variables Accounted For

This class allows for the following variables to be collected:
  • "address_city"
  • "address_country"
  • "addresscountrycode"
  • "address_state"
  • "address_status"
  • "address_street"
  • "address_zip"
  • "first_name"
  • "last_name"
  • "payerbusinessname"
  • "payer_email"
  • "payer_id"
  • "payer_status"
  • "contact_phone"
  • "business"
  • "item_name"
  • "item_number"
  • "quantity"
  • "receiver_email"
  • "receiver_id"
  • "custom"
  • "memo"
  • "invoice"
  • "tax"
  • "numcartitems"
  • "payment_date"
  • "payment_status"
  • "payment_type"
  • "pending_reason"
  • "txn_id"
  • "txn_type"
  • "mc_fee"
  • "mc_gross"
  • "notify_version"
  • "verify_sign"

Sample Implementation Code

Below is the following C# code that you need to add in your Page_Load or wherever you would like to add it on your page that processes the IPN.

PPIPN objPP = new PPIPN("LIVE");
//PPIPN objPP = new PPIPN("TEST");
//PPIPN objPP = new PPIPN("ELITE");

objPP.FromEmail = "email@yourdomain.com"; //email address your smtp server will accept
objPP.FromEmailPassword = "yourpassword"; //password for the email address above
objPP.SmtpHost = "yourSMTPHost";
objPP.SmtpPort = "SMTPHostPort";
objPP.ToEmail = "youremailatPayPal@domain.com";//this needs to be your business/email you have registered with PayPal
objPP.MakeHttpPost();
objPP.CheckStatus();

Reviews for this release

     
asdfsdfasdf asdfsadf dfas fsaf asda,afmasd asdfjllas;dfjasdfhabsdkvbasd asdkfljabsd asdfahnsdfa dsjasdfasdjsakasdkfasdkkkskddfasdfsadsdf
by AhmadHamdan on Aug 10, 2011 at 9:55 PM
     
Class doesn't use enums, cast strings to floats, and wrongfully implements the properties
by nicksardo on Jun 7, 2011 at 3:09 AM