Page 1 of 2
paypal_ipn.php
Posted: 19 Aug 2008, 09:49
by bonelifer
I'm not sure exactly how to use this other than the the obvious of using an include to include it.
Re: paypal_ipn.php
Posted: 19 Aug 2008, 10:24
by igorw
Re: paypal_ipn.php
Posted: 15 Mar 2009, 19:50
by xCrazy
thanks!!
Re: paypal_ipn.php
Posted: 02 Nov 2010, 19:41
by Dugi
Igor, would please explain as detailed as possible on how to apply the code you showed above?
Re: paypal_ipn.php
Posted: 02 Nov 2010, 20:05
by igorw
Even more detailed?
1. Include the file
2. Instantiate paypal_ipn
3. Assign fields (as seen above)
4. Output a form pointing to $paypal->paypal_url with the $paypal->hidden_fields() as hidden fields
notify_url is the callback location that is called by paypal when the transaction is completed. You can do steps 1-3 on that page (you can use $paypal->check_ipn() to make sure it's an IPN request) and use the information from $paypal->ipn_data as you wish.
Information about the available data can be found here:
https://cms.paypal.com/cgi-bin/marketin ... 91F0M006Y4
Re: paypal_ipn.php
Posted: 02 Nov 2010, 20:11
by Dugi
This was detailed enough now, thanks a lot, I'll try and report back if it works or anything else keeps preventing me from success
Re: paypal_ipn.php
Posted: 02 Nov 2010, 21:16
by Dugi
Re: paypal_ipn.php
Posted: 03 Nov 2010, 10:52
by tumba25
And what error do you get?
Re: paypal_ipn.php
Posted: 03 Nov 2010, 18:54
by Dugi
no error, I just want to make sure I used it correctly.
Re: paypal_ipn.php
Posted: 03 Nov 2010, 22:38
by tumba25
Seems right after a quick look. Try it and see if it works.
Re: paypal_ipn.php
Posted: 06 Nov 2010, 09:40
by Dugi
Re: paypal_ipn.php
Posted: 07 Nov 2010, 13:34
by tumba25
Re: paypal_ipn.php
Posted: 23 Nov 2010, 20:15
by Dugi
Can you give me a sample code, I rely a lot on samples and when I see them I know what to do?
Re: paypal_ipn.php
Posted: 23 Nov 2010, 21:29
by tumba25
I have been looking at this library and it don't seem to work as expected. Might be that PayPal has done some changes, I don't know yet.
I have been looking at it but have not had time to finish it yet. I'll post a notice here when its done.
Re: paypal_ipn.php
Posted: 24 Nov 2010, 09:24
by Dugi
Okay, thanks a lot