learning_brain
New Member
- Messages
- 206
- Reaction score
- 1
- Points
- 0
Hi all
I'm confused and tired and need some help....
I have an ecommerce site, which is pretty much done now - providing a CMS for the client and then dynamically generating item lists.
I'm using the PayPal buttons "add to cart" form/hidden variable technique, which works great and has been tested.
My problem is....
In order to update the database that the item has been sold, I need an "IPN listener" which is a piece of code that waits for paypal to send information. When this information is received, the listener then sends back EXACTLY the same info (I believe) at which point PayPal returns a valid or invalid response.
On receiving a valid response, I need to use that (if,then) to update the associated records to say that they are no longer for sale.
There is a bunch of stuff under the PayPal implementation site, but the sample code is a bit over my head.
Does anyone know of a similar listener (php) that I can copy/paste and configure fairly simply?
Either than or a good simple tut I can follow.
Rich
I'm confused and tired and need some help....
I have an ecommerce site, which is pretty much done now - providing a CMS for the client and then dynamically generating item lists.
I'm using the PayPal buttons "add to cart" form/hidden variable technique, which works great and has been tested.
My problem is....
In order to update the database that the item has been sold, I need an "IPN listener" which is a piece of code that waits for paypal to send information. When this information is received, the listener then sends back EXACTLY the same info (I believe) at which point PayPal returns a valid or invalid response.
On receiving a valid response, I need to use that (if,then) to update the associated records to say that they are no longer for sale.
There is a bunch of stuff under the PayPal implementation site, but the sample code is a bit over my head.
Does anyone know of a similar listener (php) that I can copy/paste and configure fairly simply?
Either than or a good simple tut I can follow.
Rich