Re: PHP and PayPal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Robert

I am just in implementing PayPal as one of the Payment providers on an order.

I realize the PayPal documention is a bit too exhausive and is easy to lose 
track of what is important.

I will introduce two items to you:

IPN (Instant Payment Notification)

You should have a script that handles callbacks from PayPal.  The PayPal 
system itself calls the script whenever something important happened.  The 
security is that you get all the data PayPal sent, send it back to a POST and 
retrieve the reply "VERIFIED" or "FAILED".  This script should create the 
keys and send emails to the customer with these keys.


PDT (Payment Data Transfer)
PDT is used by PayPal when the payment is completed and the PayPal system 
forwards the user back to your page.  Use the PDT to look up in your database 
if you already received an IPN from PayPal regarding this order.

PayPal alows you to check your system by the use of a Sandbox.  They also have 
a forum where you can ask specific questions.



With kind regards


Andy Pieters
Straight-A-Software

-- 
Registered Linux User Number 379093
-- --BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/O/>E$ d-(---)>+ s:(+)>: a--(-)>? C++++$(+++) UL++++>++++$ P-(+)>++
L+++>++++$ E---(-)@ W+++>+++$ !N@ o? !K? W--(---) !O !M- V-- PS++(+++)
PE--(-) Y+ PGP++(+++) t+(++) 5-- X++ R*(+)@ !tv b-() DI(+) D+(+++) G(+)
e>++++$@ h++(*) r-->++ y--()>++++
-- ---END GEEK CODE BLOCK------
--
Check out these few php utilities that I released
 under the GPL2 and that are meant for use with a 
 php cli binary:
 
 http://www.vlaamse-kern.com/sas/
--

--

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux