True. But I only have access to what's in my home directory, very cheap shared hosting. Can you suggest what I could look for? PHP update or something?
Code:
// global $order_total_modules;
return false;
// now just need to check here whether we are here because of IPN or auto-return, we cn use the referer variable for that
// If we have come from auto return, check to see wether the order has been created by IPN and if not create it now.
//if ($_GET['referer'] == 'paypal') {
// $_SESSION['cart']->reset(true);
// unset($_SESSION['sendto']);
// unset($_SESSION['billto']);
// unset($_SESSION['shipping']);
// unset($_SESSION['payment']);
// unset($_SESSION['comments']);
// $order_total_modules->clear_posts();//ICW ADDED FOR CREDIT CLASS SYSTEM
// zen_redirect(zen_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL'));
//} else {
// zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
//
// }
}
that is what my before_process() looks like, which line does the "check to see wether the order has been created by IPN" and which line creates the order. Thanks
Bookmarks