Ecart Success Page not displaying in FireFox
When using Firefox 9.0.1 everything works fine until the success page should be displayed. Everything works as design for IE, Safari, and Goggle Chrome. For example here is the sequence of events:
- add product to shopping cart
- view shopping cart and proceed to checkout
- Enter payment and shipping info and proceed to confirmation page
- Confirmation displays product, $ totals/ shipping and billing info
- I accept confirmation display and proceed to Authorize.Net code
- Return from Authorize net and go back to confirm page code.
- receive authorization and set eCart redirect to success page
- confirm code proceeds to update 4 different files within the same database
- confirm code go to email confirmation code and return to confirm code.
- confirm code then ask if eCart is empty
If empty, sets eCart redirect to shopping Cart page
- Next it sees if the eCart redirect is not empty
- If not empty, then it should go to Success Page
- Here is where thing go wrong when using only Firefox (note: Everything works as design for IE, Safari, and Goggle Chrome). Instead of going to display the success page it is going to shopping cart page from either the confirm page or within the success page. I am not sure which one is doing it.
- Code after the above IF logic is the HTML confirmation page which is working as planned.
Question 1: When/why would the eCart be empty in the confirmation page or success page or even in the failure page if the above steps indicate that products are in the cart? Is their another scenario that would result in an empty eCart within these code pages (confirm, success, failure)?
Question 2: The last processing step after the success page has been displayed is to delete all the session cookies...etc. I do not want anything in the eCart when the customer has completed its purchase and returns to my website home page. So the question: Is it possible for the server to have deleted the session data at the end of the success code page before it actually displays the success page?
- I would assume not because I cannot see how the success page can be executed twice so it would hit the eCart empty cart logic at the beginning of the success page code.