Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

implementing IPN


Recommended Posts

I have just started working with osCommerce. I would like to use PayPal's IPN support to update my orders. I know there are a couple contributions out there for this but I would rather build my own solution

so I can minimize the amount of code needed as well as have a more complete understanding of what is going on under the hood.


If I wanted to update my orders status based on PayPals status it looks like I would at a minimum need to do the following:


1) update the orders table similar to the update in orders.php

2) insert another record in the orders_status_history table similar to orders_status.php

3) insert some records into the orders status table to handle different types of status from paypal.


I am making an assumption that I can pass a unique order id to PayPal so in the return IPN message I will be able to distinguish which order to update. I believe I remember you can pass a custom field to PayPal for this reason.


Anything I am missing or other advice experienced users would like to share?

Shannon Hughes

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...