HomeHome Product Discus... Product Discus...SmithCartSmithCartCustomer cannot complete checkout, "error=An+unexpected+error+has+occurred"Customer cannot complete checkout, "error=An+unexpected+error+has+occurred"
Previous
 
Next
New Post
2/14/2013 2:09 PM
 
I have been receiving a lot of complaints from customers on our store stating that they have not been able to complete a check out and are getting several errors in the process.

Currently running on DotNetNuke 6.2.6 and SmithCart 5.25

They are getting the generic error: error=An+unexpected+error+has+occurred
while going through the Step 1, Step 2, Confirm pages (happens randomly).

In the Event Viewer for DotNetNuke I receive instances not often but throughout the day stating:

SmithGateway: {}:Object reference not set to an instance of an object. at j.a(ICustomer A_0, IAccount A_1, Decimal A_2, Boolean A_3, String A_4, Int32 A_5) at j.Process(ICustomer customer, IAccount account) at Smith.DNN.Modules.BuyNow.Confirm.Submit() at Smith.DNN.Modules.BuyNow.Confirm.btnSubmit_Click(Object sender, EventArgs e)


 Do you know what might be causing this and how can I resolve this?

Thanks
 
New Post
2/14/2013 5:34 PM
 
What do you have your session timeout value set to in your web.config?


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
2/15/2013 8:11 AM
 
This?

<authentication mode="Forms">
      <forms name=".DOTNETNUKE" protection="All" timeout="50000000" cookieless="UseCookies" />
    </authentication>


 
New Post
2/16/2013 11:40 AM
 
<configuration>
  <system.web>
     <sessionState timeout="60"></sessionState>
  </system.web>
</configuration>

The timeout attribute specifies the number of minutes a session can be idle before it is abandoned. The default value for this attribute is 20.



Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
3/4/2013 8:08 AM
 
Scott,

Below is a log of one of the many orders where a customer has received an error message. This happens 80% of the time whenever they click the Submit Order button on the Confirm Page. They clicked that button in less than 15 seconds after viewing the Confirm Page. The user's idle time is obviously not the reason for this giving an error. Please note that when they do click the Submit Order button at the Confirm page and even though they receive an error, their order goes through successfully.



Mar 4 2013 8:36:05 am
/store/tabid/214/ctl/Step1/mid/782/

Mar 4 2013 8:37:05 am
/store/tabid/214/ctl/Confirm/mid/782/

Mar 4 2013 8:37:18 am
/default.aspx?tabid=214&error=An+unexpected+error+has+occurred



We thought that this issue was due to the skipping the credit card page but it happens for orders that do go to Step 2 as well.

 
New Post
3/4/2013 9:04 AM
 
I believe this is what the DNN Event Viewer said for a similar order that got this error.

AssemblyVersion: 6.2.6
PortalID: 0
UserID: -1
UserName:
ActiveTabID: 206
RawURL: /tabid/206/ctl/ConfirmStatus/mid/767/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: /tabid/206/ctl/Confirm/mid/767/Default.aspx
UserAgent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.97 Safari/537.22
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: d4654613-0bac-4805-b2ff-2bbd247e587e
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.ConfirmStatus.k
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Smith.DNN.Modules.BuyNow.ConfirmStatus.k() at Smith.DNN.Modules.BuyNow.ConfirmStatus.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartCustomer cannot complete checkout, "error=An+unexpected+error+has+occurred"Customer cannot complete checkout, "error=An+unexpected+error+has+occurred"