Integrate PayPal IPN with shopping cart

I have a shopping cart that uses a session to store data, and have successfully integrated PayPal’s IPN. However, the ipn.php doesn’t pick up on the session data, presumably because the ipn.php page doesn’t actually run in a browser and doesn’t output anything.

What is the best way to store the shopping cart whilst payment is being made, so it can be retrieved? Or should a session work?

Sponsor our Newsletter | Privacy Policy | Terms of Service