Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 23rd Jul 2012, 03:22 PM   #1
HyperActive Warrior
War Room Member
 
Michael Travis's Avatar
 
Join Date: 2008
Location: , , USA.
Posts: 254
Thanks: 26
Thanked 150 Times in 41 Posts
Default
Paypal IPN Handler for an Affiliate
Share on: 
fb share twitter share gplus share more share

I am an affiliate for a product(s) where I get paid instantly by Paypal. I would like to send an email to the buyer giving them a special bonus for buying through my link. Can I use a Paypal IPN handler script to send this email? Do I have to be the orignal receiver? Since I am an affiliate I would be not be the original receiver but a second or third receiver.

Any sample scripts or a lead in the right direction would be appriciated.

Thanks,

Michael
Michael Travis is offline  
Unread 24th Jul 2012, 01:33 AM   #2
OptinLinks.com
War Room Member
 
ALicenseToCode's Avatar
 
Join Date: 2012
Location: Minneapolis
Posts: 81
Thanks: 38
Thanked 81 Times in 53 Posts
Default
Re: Paypal IPN Handler for an Affiliate
Share on: 
fb share twitter share gplus share more share

If you can get an IPN for the sale it shouldn't be a problem. That's the big first problem, is it the kind of program where you just get the whole dollar amount for the sale every other sale? If so you might have to request the vendor to put a paypal IPN url on their site for your sales. They should be able to handle that and be more than happy to oblige if you're making sales for them.

Once you have the url on your site to process the IPN you just need to go grab an IPN Script, there's a good PHP Class Object on Paypal's site that can get you started. You use their class to pull in all the IPN data on your site, then you can pull their email from that script and use the PHP mail() function to send them a mail.

This is a general outline of what to do, the specifics are kind of complicated but there's plenty of documentation in Paypal's IPN section on their site.
ALicenseToCode is offline  
Unread 31st Jul 2012, 09:43 PM   #3
Lisa Dozois
War Room Member
 
lisag's Avatar
 
Join Date: 2006
Location: Florida, USA.
Posts: 608
Thanks: 107
Thanked 254 Times in 118 Posts
Default
Re: Paypal IPN Handler for an Affiliate
Share on: 
fb share twitter share gplus share more share

Do you get an email notification from PayPal when the payment is processed?

-- Lisa G
lisag is offline  
Unread 1st Aug 2012, 01:40 AM   #4
HyperActive Warrior
War Room Member
 
Michael Travis's Avatar
 
Join Date: 2008
Location: , , USA.
Posts: 254
Thanks: 26
Thanked 150 Times in 41 Posts
Default
Re: Paypal IPN Handler for an Affiliate
Share on: 
fb share twitter share gplus share more share

Originally Posted by ALicenseToCode View Post

If you can get an IPN for the sale it shouldn't be a problem. That's the big first problem, is it the kind of program where you just get the whole dollar amount for the sale every other sale? If so you might have to request the vendor to put a paypal IPN url on their site for your sales. They should be able to handle that and be more than happy to oblige if you're making sales for them.

Once you have the url on your site to process the IPN you just need to go grab an IPN Script, there's a good PHP Class Object on Paypal's site that can get you started. You use their class to pull in all the IPN data on your site, then you can pull their email from that script and use the PHP mail() function to send them a mail.

This is a general outline of what to do, the specifics are kind of complicated but there's plenty of documentation in Paypal's IPN section on their site.
Thank you very much for the information. I will look into the paypal's sample script.

Originally Posted by lisag View Post

Do you get an email notification from PayPal when the payment is processed?
I do get an email notification, but I haven't found a script to process the email and extract the information I want such as buyer's email address and product purchased.

Thanks,

Michael
Michael Travis is offline  
Unread 1st Aug 2012, 02:53 AM   #5
Active Warrior
War Room Member
 
Join Date: 2012
Location: Semarang
Posts: 49
Thanks: 5
Thanked 4 Times in 4 Posts
Default
Re: Paypal IPN Handler for an Affiliate
Share on: 
fb share twitter share gplus share more share

You have to be website owner for access paypal IPN Handler. Usually, an affiliate make his own sales letter page, and put opt-in form on the page. Write on your sales page like as this for example :
"Let me know if you have purchase from me, I will give hundred bonuses for you."
rhensiong is offline  
Closed Thread


Bookmarks

Tags
affiliate, handler, ipn, paypal


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 01:16 PM.