Re: [PHP] Paypal IPN and PHP

2006-03-20 Thread Curt Zirzow
On Sun, Mar 19, 2006 at 06:41:54PM +, Richard Davey wrote:
 On 19 Mar 2006, at 18:32, Leonard Burton wrote:
 
 I am putting together an site and will accept payments via Paypal's
 IPN.  I have came across many classes for this so I am curious if
 anyone has any recommendations?
 
 Isn't there a full proper PayPal API now? IPN hasn't changed in ages,  
 but I don't think it is their preferred way of accessing PayPal any  
 more, and certainly isn't the most streamlined.

Yeah, they have their new Payment Pro system which has a gateway
API. I dont think they have any preference over the other.  

One of the biggest advantages with IPN is you dont have to worry
about handling credit card numbers and how you are securily
handling them.  But then again like you said it is a bit clunkly to
add to a payment system, and if paypal somehow fails you have to
jump through hoops to figure out what happened and what to do next.


Curt.
-- 
cat .signature: No such file or directory

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Paypal IPN and PHP

2006-03-20 Thread Manuel Amador (Rudd-O)

Curt Zirzow wrote:



Isn't there a full proper PayPal API now? IPN hasn't changed in ages,  
but I don't think it is their preferred way of accessing PayPal any  
more, and certainly isn't the most streamlined.
   

You kidding?  IPN support is ridiculously easy to develop.  If you're 
interested, I've got a mini software sales system for WordPress.




Yeah, they have their new Payment Pro system which has a gateway
API. I dont think they have any preference over the other.  


One of the biggest advantages with IPN is you dont have to worry
about handling credit card numbers and how you are securily
handling them.  But then again like you said it is a bit clunkly to
add to a payment system, and if paypal somehow fails you have to
jump through hoops to figure out what happened and what to do next.
 


Not really.  The state of a transaction can be easily verified.



Curt.
 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Paypal IPN and PHP

2006-03-20 Thread Richard Davey

On 20 Mar 2006, at 16:26, Manuel Amador (Rudd-O) wrote:

Isn't there a full proper PayPal API now? IPN hasn't changed in  
ages,  but I don't think it is their preferred way of accessing  
PayPal any  more, and certainly isn't the most streamlined.


You kidding?  IPN support is ridiculously easy to develop.  If  
you're interested, I've got a mini software sales system for  
WordPress.


Easy, yes. That wasn't the point really though. Their true API offers  
you a truly site integrated experience, IPN does not.


Cheers,

Rich
--
http://www.corephp.co.uk
Zend Certified Engineer
PHP Development Services

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Paypal IPN and PHP

2006-03-20 Thread Curt Zirzow
On Mon, Mar 20, 2006 at 11:26:34AM -0500, Manuel Amador (Rudd-O) wrote:
 Curt Zirzow wrote:
 
 
 Isn't there a full proper PayPal API now? IPN hasn't changed in ages,  
 ...
 
 
 Yeah, they have their new Payment Pro system which has a gateway
 API. I dont think they have any preference over the other.  
 
 One of the biggest advantages with IPN is you dont have to worry
 about handling credit card numbers and how you are securily
 handling them.  But then again like you said it is a bit clunkly to
 add to a payment system, and if paypal somehow fails you have to
 jump through hoops to figure out what happened and what to do next.
  
 
 Not really.  The state of a transaction can be easily verified.

Considering the way a typical ipn transation works there are
several steps involved in the whole transaction that could be the
problem.

  1. You send user to paypal, with item and amount for item.
  2. paypal veryifies user and the amount the user is going to pay.
  3. paypal contacts your callback script that should validate the
 transaction.
  4. paypal provides a link to the user to return to your site with
 data related to the transaction.

There are several problems in which are hard to tracedown:
  - Network problems
. Paypal is unreachable
. Paypal can't resolve your callback script
. Your site is unreachable when the user finishes with paypal.

  - Script problems
. Paypal doesn't ever call your callback script
. Your callback script has a logic error/parse error, so you
  can't verify the transaction but yet paypal still transfers 
  the funds.
. Paypal changes their API to post data to their system
. Paypal doesn't post transaction related data back to your
  script.

  - User problems
. User modifies a price for a product that is being posted to
  paypal, instead of paying $100.00 they change the value to
  $1.00.
. Any Network problem or Script problem causes the user to get
  frustrated with your system.
. User never clicks the 'Return to site' button so you never
  really know if they've completed the transaction or their
  browser crashed somewhere.


If you use a gateway to process funds within your script, it is
much easier to catch these points of failures.  Since this system
can keep track exactly at what point something failed it can 
gracefully respond to the the user of the status.


Curt.
-- 
cat .signature: No such file or directory

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Paypal IPN and PHP

2006-03-19 Thread Leonard Burton
HI All,

I am putting together an site and will accept payments via Paypal's
IPN.  I have came across many classes for this so I am curious if
anyone has any recommendations?

Does anyone know if the IPN framework has changed since 2003 as it
seems that the latest information I have on it is from 2003.  I have
looked around the Paypal site and it does not indicate when or if any
changes have been made.  I mainly need to know so if I use a 3rd pty
class I will not have to pull my hair out.

Thanks,

--
Leonard Burton, N9URK
[EMAIL PROTECTED]

The prolonged evacuation would have dramatically affected the
survivability of the occupants.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Paypal IPN and PHP

2006-03-19 Thread Richard Davey

On 19 Mar 2006, at 18:32, Leonard Burton wrote:


I am putting together an site and will accept payments via Paypal's
IPN.  I have came across many classes for this so I am curious if
anyone has any recommendations?


Isn't there a full proper PayPal API now? IPN hasn't changed in ages,  
but I don't think it is their preferred way of accessing PayPal any  
more, and certainly isn't the most streamlined.


Cheers,

Rich
--
http://www.corephp.co.uk
Zend Certified Engineer
PHP Development Services

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Paypal IPN and PHP

2006-03-19 Thread Stan Busk

Hi,

You can look at my script. It is available here:
http://www.maxprog.com/scripts/paypal_ipn/index.html

I made it to sale software licenses, it generates and sends receipts  
by e-mail to the customers with a copy to you, formats and sends the  
customer data as XML to you by e-mail, saves the sales to Excel  
sheets, one per month and currency, handles refunds, reversed  
payments and e-checks and handles all kind of errors including  
sending e-mails.


~/Stan


HI All,

I am putting together an site and will accept payments via Paypal's
IPN.  I have came across many classes for this so I am curious if
anyone has any recommendations?

Does anyone know if the IPN framework has changed since 2003 as it
seems that the latest information I have on it is from 2003.  I have
looked around the Paypal site and it does not indicate when or if any
changes have been made.  I mainly need to know so if I use a 3rd pty
class I will not have to pull my hair out.

Thanks,

--
Leonard Burton, N9URK
[EMAIL PROTECTED]

The prolonged evacuation would have dramatically affected the
survivability of the occupants.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php