Page 1 of 1
ERROR- Editing Address on Failed Payment
Posted: Thu Apr 03, 2014 12:10 pm
by Radiatorman
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?
Re: ERROR- Editing Address on Failed Payment
Posted: Fri Apr 04, 2014 1:26 am
by mazhar
Whats version of ablecommerce you are using?
Re: ERROR- Editing Address on Failed Payment
Posted: Mon Apr 07, 2014 9:46 am
by Radiatorman
AbleCommerce GoldR7 (build 7118)
Re: ERROR- Editing Address on Failed Payment
Posted: Tue Apr 08, 2014 2:52 am
by mazhar
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.
Re: ERROR- Editing Address on Failed Payment
Posted: Mon Apr 14, 2014 3:46 am
by mazhar
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.
Re: ERROR- Editing Address on Failed Payment
Posted: Tue May 06, 2014 12:58 pm
by Radiatorman
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?