tlhawkins Posted February 10, 2005 Share Posted February 10, 2005 Hi all, Thanks for taking the time to help. I've setup OSC with Autorize.Net and everything seemed to work for a few test runs, but we stopped getting email messages from OSc when a sale was made, so I looked into it and found that authorize.net is showing the sale finished but OSC hasn't saved any of the order information (the Orders page shows no orders while authorize.net shows several) I'm so confused. So I created a new user (worked fine) logged in and tried to purchase something, I found that after submitting the finalize order button OSC rerouts me back to the "Login page" even though I was already logged in. Any ideas what could be happening here? Thanks travis Link to comment Share on other sites More sharing options...
♥Vger Posted February 10, 2005 Share Posted February 10, 2005 Check out what your return URL is. If you use SSL on your site then make sure that the return URL is https and not http, and use either checkout_process.php or checkout_success.php as the return page. Vger Link to comment Share on other sites More sharing options...
tlhawkins Posted February 10, 2005 Author Share Posted February 10, 2005 I hoped that would work so much... but no. It sounded like it would work. I forced the form variable sent off the Authorize.net to be the correct URL.... HTTPS and all but still the same effect and no order entered into the database. Where am I supposed to set this variable at? I couldn't find it. FILENAME_CHECKOUT_PROCESS -Any other ideas? Thanks Link to comment Share on other sites More sharing options...
♥Vger Posted February 10, 2005 Share Posted February 10, 2005 That is just the name of the file checkout_process.php In osCommerce all filenames are defined by starting with FILENAME Vger Link to comment Share on other sites More sharing options...
tlhawkins Posted February 10, 2005 Author Share Posted February 10, 2005 OK... I got half of the problem fixed and for some reason expected that would fix the other half as well. I got the order to go through and return to OSCommerce correctly. It shows me an empty shopping cart, I guess that is what it is supposed to do. The problem remains that the order is not entered into the Database. There is never any error message, emails are sent from Authorize.Net but not from OSCommerce. Can someone point me to the code that handles the database insert and the email notifications? -thanks Link to comment Share on other sites More sharing options...
tlhawkins Posted February 10, 2005 Author Share Posted February 10, 2005 I figured it out. It turns out the session was getting lost when everything was submitted to Authorize.net because I had set OSCommerce to force cookie usage. I turned that setting off in the admin and everything works great! -Travis Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.