LTStriker Posted August 17, 2010 Posted August 17, 2010 Hi All, I'm having a problem with transactions successfully passing through NAB Transact (in test mode at least). The linkage across to the payment gateway works successfully with correct charges displaying on the hosted payment page by National Australia Bank, however when the reply_link_url sends the server process back to the cart, the order isn't generated and the shopping cart isn't emptied. I have traced through the process by adding some debug lines to the reply_link_url (checkout_process.php) and found that the code is not succeeding at: // if the customer is not logged on, redirect them to the login page if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(array('mode' => 'SSL', 'page' => FILENAME_CHECKOUT_PAYMENT)); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } As NAB Transact calles this file, I'm guessing it is failing as the session hasn't been created for that IP address or similar. I can see through my apache logs that immediately after this file is called, login.php is called from the NAB IP address. On the NAB success page I am then clicking on the return_link_url which is successfully taking me back to my shopping cart, however, when I return, the cart hasn't been emptied and my order hasn't been raised. While I would like to think I am on the right track, I would appreciate any feedback and suggestions on how to resolve this issue. I am running OSCommerce-2.2RC2A and the NAB transact (Hosted Payment Page) Payment Module I am using is found at http://addons.oscommerce.com/info/6507 Regards & many thanks in advance Andrew Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.