When a user logs in to pay a remaining balance for an order, they go to Account > View Order to view a link that sauce "Pay Now" to pay it. When the users click "Pay Now," they receive a server error (see "http://www.hotsaucedepot.com/Errors/Gen ... Order.aspx") on the front end, and we get the following error in our error log:
An error has occured at https://www.hotsaucedepot.com/Members/P ... er=2126597
Exception: Exception of type 'System.Web.HttpUnhandledException' was thrown. Stack Trace: at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Inner Exception: Object reference not set to an instance of an object. Inner Exception Stack Trace: at AbleCommerce.ConLib.Checkout.PaymentWidget.Page_Load(Object sender, 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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Any thoughts on how to fix this?
Error When Clicking "Pay Now" Button
Re: Error When Clicking "Pay Now" Button
Hi Mary,
We'll need more info.
What version are you using?
What payment methods do you have configured?
Have you customized the \ConLib\Checkout\PaymentWidget ?
Thanks,
Katie
We'll need more info.
What version are you using?
What payment methods do you have configured?
Have you customized the \ConLib\Checkout\PaymentWidget ?
Thanks,
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: Error When Clicking "Pay Now" Button
Thank you, Katie!
What version are you using? AbleCommerce GoldR8 (build 7345)
What payment methods do you have configured? Visa, Mastercard, AmEx, Discover, PayPal, Approved Account (but only visible on backend), Gift Certificate, Check by Mail, Cash.
Have you customized the \ConLib\Checkout\PaymentWidget ? Actually, yes I believe we recently had a customization for this!
What version are you using? AbleCommerce GoldR8 (build 7345)
What payment methods do you have configured? Visa, Mastercard, AmEx, Discover, PayPal, Approved Account (but only visible on backend), Gift Certificate, Check by Mail, Cash.
Have you customized the \ConLib\Checkout\PaymentWidget ? Actually, yes I believe we recently had a customization for this!
Re: Error When Clicking "Pay Now" Button
Thanks for the information. Can you tell me if the PAY NOW link worked in the past? If it did, then we can probably say something went wrong with the customization. One thing you can do is put in the stock file and do a quick test.Have you customized the \ConLib\Checkout\PaymentWidget ? Actually, yes I believe we recently had a customization for this!
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: Error When Clicking "Pay Now" Button
It did work in the past--I think you hit the nail on the head with the customization, so we'll take a look at that. Thanks again!
Re: Error When Clicking "Pay Now" Button
Hi Katie,
The person we hired to do the customization has insisted that what they did didn't affect the PAY NOW link, but we still think that could be the issue. We are also receiving an error when we try to change/update a user's email address on the "Account" tab. Our customization added an additional field to the "Account" tab. so we think that all of these are related. I've pasted the error below. Can you tell us which file might be causing these errors? I would be happy to email you (or someone) the file to take a look at because we are completely stumped now. Thank you in advance!
Trying to change email address:
An error has occured at https://www.brewhaus.com/Admin/People/U ... rId=159031
Exception: Exception of type 'System.Web.HttpUnhandledException' was thrown. Stack Trace: at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Inner Exception: Input string was not in a correct format. Inner Exception Stack Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at AbleCommerce.Admin.People.Users.AccountTabPage.SaveAccount() at AbleCommerce.Admin.People.Users.AccountTabPage.SaveAccountButton_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The person we hired to do the customization has insisted that what they did didn't affect the PAY NOW link, but we still think that could be the issue. We are also receiving an error when we try to change/update a user's email address on the "Account" tab. Our customization added an additional field to the "Account" tab. so we think that all of these are related. I've pasted the error below. Can you tell us which file might be causing these errors? I would be happy to email you (or someone) the file to take a look at because we are completely stumped now. Thank you in advance!
Trying to change email address:
An error has occured at https://www.brewhaus.com/Admin/People/U ... rId=159031
Exception: Exception of type 'System.Web.HttpUnhandledException' was thrown. Stack Trace: at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Inner Exception: Input string was not in a correct format. Inner Exception Stack Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at AbleCommerce.Admin.People.Users.AccountTabPage.SaveAccount() at AbleCommerce.Admin.People.Users.AccountTabPage.SaveAccountButton_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Re: Error When Clicking "Pay Now" Button
This is when it would be a good idea to have a stock version of AbleCommerce installed so you can find out if it is the customization or not.The person we hired to do the customization has insisted that what they did didn't affect the PAY NOW link, but we still think that could be the issue.
The page you asked about is in the error message - /Admin/People/Users/EditUser.aspx
This will be in the \admin\people\users\ folder. The files will be EditUser.aspx and EditUser.aspx.cs
You can compare with the original versions. I still think the best way to figure this out is to setup another local install and see if the customizations are really the cause.
Hope this helps,
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support