ERROR- Editing Address on Failed Payment

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
Radiatorman
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 26
Joined: Fri Sep 18, 2009 2:24 pm

ERROR- Editing Address on Failed Payment

Post by Radiatorman » Thu Apr 03, 2014 12:10 pm

I appreciate the update to edit the billing address when a payment fails. However it does not seem to be working for me. After clicking edit, I make adjustments to my address then click UPDATE. Neither the State/Province nor the Country get updated in the database thus resulting in an error when the page reloads.

Has anyone else experienced this?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: ERROR- Editing Address on Failed Payment

Post by mazhar » Fri Apr 04, 2014 1:26 am

Whats version of ablecommerce you are using?

Radiatorman
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 26
Joined: Fri Sep 18, 2009 2:24 pm

Re: ERROR- Editing Address on Failed Payment

Post by Radiatorman » Mon Apr 07, 2014 9:46 am

AbleCommerce GoldR7 (build 7118)

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: ERROR- Editing Address on Failed Payment

Post by mazhar » Tue Apr 08, 2014 2:52 am

I just confirmed it, there seems to be problem with editing as described though for me Its only the state that's not being saved. I have reported the issue.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: ERROR- Editing Address on Failed Payment

Post by mazhar » Mon Apr 14, 2014 3:46 am

In order to patch this, edit Website\ConLib\Account\BillingAddress.ascx.cs file and locate following line of code

Code: Select all

List<OrderShipment> shipments = GetShipToBilling(this.Order);
and replace it with

Code: Select all

List<OrderShipment> shipments = GetShipToBilling(this.Order);
BillToProvince.Visible = !BillToProvinceList.Visible;
Save the file and test again. It should save the changes made to state now.

Radiatorman
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 26
Joined: Fri Sep 18, 2009 2:24 pm

Re: ERROR- Editing Address on Failed Payment

Post by Radiatorman » Tue May 06, 2014 12:58 pm

Sorry for the late follow-up. I made the update. The page doesn't error out anymore but the state value does not get saved. It updates to NULL. Were you able to verify that you could change states?

Post Reply