HomeHome Product Discus... Product Discus...SmithCartSmithCartError during checkout to PayPalError during checkout to PayPal
Previous
 
Next
New Post
8/27/2014 9:18 AM
 
There is an issue with my recent upgrade to 5.77. When a customer orders and is ready to pay through PayPal they get "A critical error has occurred. An unexpected error has occurred." I then go to the event viewer and the error is this:

AssemblyVersion: 6.2.1

PortalID: 0

PortalName: Vintage Skivvies

UserID: -1

UserName:

ActiveTabID: 84

ActiveTabName: Skivvies Store

RawURL: /Vintage-Skivvies-Mens-and-Boys-Retro-Underwear-Online-Store/ctl/Cart/mid/520.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: https://vintageskivvies.com/Vintage-Skivvies-Mens-and-Boys-Retro-Underwear-Online-Store/ctl/Cart/mid/520.aspx

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/7.0.6 Safari/537.78.2

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 8d046a16-fe1e-4b45-88a4-0598aa0ae0ac

InnerException: Index was outside the bounds of the array.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: Smith.DNN.Modules.BuyNow.Cart.ad

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Index was outside the bounds of the array. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at Smith.DNN.Modules.BuyNow.Cart.ad() at Smith.DNN.Modules.BuyNow.Cart.Checkout() at Smith.DNN.Modules.BuyNow.Cart.btnMakePayment_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: WEB26


I'm running DNN 6.2.1 and SC 5.77, just upgraded from 5.0 last week. Any ideas?

Thank you,
Eric
 
New Post
8/27/2014 5:06 PM
 
Hi Eric,

Do you have the Single Page Checkout option enabled?

Are you using the PayPal Checkout Option or are you suing PayPal as your primary gateway?

Thanks!
 
New Post
8/28/2014 9:04 AM
 
I figured it out. The upgrade removed my Paypal user name. I put it back and completed a transaction. 

Now, it's down to the to 2 last things:

The checkout button on the mini cart does not work after adding an item;
I receive no emails. No admin email. No customer email. No email 3rd party email. I did before the upgrade.

ugh
 
New Post
8/28/2014 3:19 PM
 
Hi Eric,

Upgrades don't remove any data in fields since they are saved in the database. Did you add a new BuyNow module perhaps? The payment fields are specific to the TabModuleID of the module.

The MiniCart button not functioning when being clicked on the Product Details page is caused by the Required validation of the Variant on the page was being triggered when the Checkout button is clicked. This has been fixed since the release of 5.77 but to fix this on your site you can modify the Category.ascx and MiniCart.ascx files to add a ValidationGroup for the controls to prevent them from triggering other validation on the page.

Regarding emails, have you configured your email templates? Are there any errors logged in your Event Viewer referencing emails when an order is placed?

Thanks!
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartError during checkout to PayPalError during checkout to PayPal