Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited

Everything posted by jfall

  1. jfall

    Official PayPal IPN Support Thread

    Nevermind I got it fixed up. Just had to add strpos($PHP_SELF, "ipn.php") to the code. Thanks anyway!
  2. jfall

    Official PayPal IPN Support Thread

    Terra, First of all, thanks for the great module! Second. I had a lot of trouble getting the module working. All orders processes were not updating (they were stuck on preparing). Using your debug script I found out that it was failing at the require('includes/application_top.php'); line. In the application_top.php file I have code at the bottom to force all users to the login page. I.e. so they can't see the products unless they login. For some reason, this code in application_top.php breaks the Paypal IPN module. If I remove the code, the Paypal IPN module functions properly. Do you have any idea why, or any suggestions on how I can continue enjoying your great module while keeping the forced logins? Here is the code that I am using (at the very bottom of application_top.php) if (strpos($PHP_SELF, "login.php") == 0 && strpos($PHP_SELF, "create_account.php") == 0 && strpos($PHP_SELF, "privacy.php") == 0 && strpos($PHP_SELF, "conditions.php") == 0) { if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } } I've also tried the following code to no avail: if (!tep_session_is_registered('customer_id')) { if ( $PHP_SELF!="/shop/login.php" && $PHP_SELF!="/shop/password_forgotten.php" && $PHP_SELF!="/shop/create_account.php" && $PHP_SELF!="/shop/create_account_success.php" ) { header("Location: /shop/login.php\n"); exit; } } Appreciate any advice. Thanks again!