MyAccount, MyOrder & Receipt is Blank! but ViewOrder OK?
Posted: Mon Nov 08, 2010 6:13 pm
This is the scenario: Customers will order off our website and received an order confirmation, but these 3 pages (MyAccount.aspx, Myorder.aspx & Receipt.aspx tell our customers they don't have any orders, and their orders have not been placed. But, they will get an email receipt and I can see their order in ViewOrder.aspx in the admin.
Am I correct in deducing that
a.) The OrderID for these "error orders" is valid, and any data that correctly shows up in the ViewOrder.aspx proves that the database is recording order information correctly from the checkout page.
b.) That if a.) is correct, the problem must lie in how the 3 trouble pages (MyAccount, MyOrder & Receipt) are recalling this database data?
c.) In the code of all the 2 trouble pages the...(if (_Order == null) Response.Redirect......redirects us to pages that basically say tells us nothing is ordered - BUT, the Order is not null...because this same redirect code exists in the ViewOrder.aspx.cs code in line 57. Am I right that this is the bottom line problem, this trigger doesn't give the pages a chance to pull the database data stored by order id's?
- Why would it do that? Why would some pages (MyAccount.aspx, MyOrder.aspx & Receipt.aspx) think the Order ID doesn't exist, but ViewOrder.aspx sees it?
- Why does this only happen to unlucky customers?
- Is it because ViewOrder is in the Admin Panel?
Would anyone agree that factors seem to be ruled out now because of the above:
- Customer ineptitude at placing orders
- Browser Versions / Operating System Versions / Software Updates
- Errors thrown because of Shared-Hosting woes and possible low system resources
Any comments or insite is greatly Greatly appreciated!
Am I correct in deducing that
a.) The OrderID for these "error orders" is valid, and any data that correctly shows up in the ViewOrder.aspx proves that the database is recording order information correctly from the checkout page.
b.) That if a.) is correct, the problem must lie in how the 3 trouble pages (MyAccount, MyOrder & Receipt) are recalling this database data?
c.) In the code of all the 2 trouble pages the...(if (_Order == null) Response.Redirect......redirects us to pages that basically say tells us nothing is ordered - BUT, the Order is not null...because this same redirect code exists in the ViewOrder.aspx.cs code in line 57. Am I right that this is the bottom line problem, this trigger doesn't give the pages a chance to pull the database data stored by order id's?
- Why would it do that? Why would some pages (MyAccount.aspx, MyOrder.aspx & Receipt.aspx) think the Order ID doesn't exist, but ViewOrder.aspx sees it?
- Why does this only happen to unlucky customers?
- Is it because ViewOrder is in the Admin Panel?
Would anyone agree that factors seem to be ruled out now because of the above:
- Customer ineptitude at placing orders
- Browser Versions / Operating System Versions / Software Updates
- Errors thrown because of Shared-Hosting woes and possible low system resources
Any comments or insite is greatly Greatly appreciated!