paypal_ipn.php
- bonelifer
- Administrator
- Posts: 477
- Joined: 24 Jun 2006, 17:48
- Real name: William
- Location: htpc.MythBuntu [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
paypal_ipn.php
I'm not sure exactly how to use this other than the the obvious of using an include to include it.
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: paypal_ipn.php
- we're poor!
-
- New member
- Posts: 1
- Joined: 15 Mar 2009, 01:45
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: paypal_ipn.php
thanks!!
- Dugi
- New member
- Posts: 23
- Joined: 11 Nov 2008, 11:40
- Real name: Dugagjin
- Location: Prishtina, Kosova [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: paypal_ipn.php
Igor, would please explain as detailed as possible on how to apply the code you showed above?
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: paypal_ipn.php
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
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
- we're poor!
- Dugi
- New member
- Posts: 23
- Joined: 11 Nov 2008, 11:40
- Real name: Dugagjin
- Location: Prishtina, Kosova [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: paypal_ipn.php
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
- tumba25
- Past Contributor
- Posts: 1058
- Joined: 24 Oct 2007, 13:10
- Real name: Jari Kanerva
- Location: Kokkola, Finland.
- Contact:
Re: paypal_ipn.php
And what error do you get?
- Dugi
- New member
- Posts: 23
- Joined: 11 Nov 2008, 11:40
- Real name: Dugagjin
- Location: Prishtina, Kosova [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: paypal_ipn.php
no error, I just want to make sure I used it correctly.
- tumba25
- Past Contributor
- Posts: 1058
- Joined: 24 Oct 2007, 13:10
- Real name: Jari Kanerva
- Location: Kokkola, Finland.
- Contact:
Re: paypal_ipn.php
Seems right after a quick look. Try it and see if it works.
- Dugi
- New member
- Posts: 23
- Joined: 11 Nov 2008, 11:40
- Real name: Dugagjin
- Location: Prishtina, Kosova [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: paypal_ipn.php
Can you give me a sample code, I rely a lot on samples and when I see them I know what to do?
- tumba25
- Past Contributor
- Posts: 1058
- Joined: 24 Oct 2007, 13:10
- Real name: Jari Kanerva
- Location: Kokkola, Finland.
- Contact:
Re: paypal_ipn.php
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.
I have been looking at it but have not had time to finish it yet. I'll post a notice here when its done.
- Dugi
- New member
- Posts: 23
- Joined: 11 Nov 2008, 11:40
- Real name: Dugagjin
- Location: Prishtina, Kosova [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: paypal_ipn.php
Okay, thanks a lot
Who is online
Users browsing this forum: No registered users and 7 guests