logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
jdepoy24549696  
#1 Posted : Monday, November 2, 2020 9:23:05 AM(UTC)
jdepoy24549696

Rank: Advanced Member

Groups: Authorized User, Developers, Registered
Joined: 4/17/2019(UTC)
Posts: 80

It was reported by a user that when they tried to check out as a new customer they saw what they thought was an error message but was actually the page's HTML.

You can reproduce this by navigating to ~/checkout/default with an empty basket and clicking "checkout" under New Customer.

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

shari  
#2 Posted : Monday, November 2, 2020 11:35:01 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
I am able to reproduce the issue. I am registering this as a bug.

Thanks for pointing this out.
judy at Web2Market  
#3 Posted : Wednesday, November 4, 2020 9:54:34 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Is there a quick fix for this? I'm working on a big 9.0.3 site and would like to fix it before they go live.
Thanks
shari  
#4 Posted : Wednesday, November 4, 2020 11:33:49 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Please try this fix

1- Open file \Website\Controllers\CheckoutController.cs
2- Search for
Code:
return JavaScriptRedirect("~/Checkout/Basket", false);

3- Replace with
Code:
Response.Redirect(NavigationHelper.GetBasketUrl(), true);
return RedirectToAction("Default");

4- Compile the code

Hope this helps!
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.