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
Kevin26343616  
#1 Posted : Thursday, December 17, 2020 9:49:47 AM(UTC)
Kevin26343616

Rank: Newbie

Groups: Developers
Joined: 8/19/2020(UTC)
Posts: 4

When editing an address from /Members/MyAddressBook and you are using an address validator, you will always get the "Confirm Address" modal, even if the address is valid.

empty-confirmation.jpg (34kb) downloaded 4 time(s).

The expected behavior is that the modal only appears if the address is found to be invalid.
Otherwise, it should just save the address with no fuss.

The problem code can be found in
MembersController.cs -> POST:Members/EditMyAddress/Id
Under the comment: // check validation options


Edit:
This bug is in both 9.0.2.6218 and 9.0.3

Edited by user Thursday, December 17, 2020 9:52:39 AM(UTC)  | Reason: Not specified

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

shaharyartiwana25816656  
#2 Posted : Thursday, December 17, 2020 11:04:04 AM(UTC)
shaharyar

Rank: Advanced Member

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

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Hi Kevin,


I am able to reproduce the issue you mentioned. I am going to report this as bug.
Thanks for identifying the issue.
ray22901031  
#3 Posted : Thursday, December 17, 2020 12:35:27 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 827

Thanks: 3 times
Was thanked: 13 time(s) in 13 post(s)
I am having difficulties finding this setting in the backend, where exactly is this setting?

Thanks
Kevin26343616  
#4 Posted : Thursday, December 17, 2020 12:48:10 PM(UTC)
Kevin26343616

Rank: Newbie

Groups: Developers
Joined: 8/19/2020(UTC)
Posts: 4

The address validation needs to be enabled in an Address Validator Service plugin, like the UPS plugin.
If that helps.
ray22901031  
#5 Posted : Thursday, December 17, 2020 1:03:24 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 827

Thanks: 3 times
Was thanked: 13 time(s) in 13 post(s)
Hey Kevin,

I figured as much. We are still a couple of months from launching our site which does rely heavily on UPS, so I'm curious about something. In many other programs when I encountered any type of address verification, it was a suggestion to use a particular address, I'm hoping this is the same through Ablecommerce.

If the system is working properly in Ablecommerce, is the dialogue box suggesting an address or forcing you to use an address?

Thanks
Kevin26343616  
#6 Posted : Thursday, December 17, 2020 1:15:30 PM(UTC)
Kevin26343616

Rank: Newbie

Groups: Developers
Joined: 8/19/2020(UTC)
Posts: 4

If the plugin provides suitable alternatives, it will list them for selection in the modal along with a hard coded option to use the address as entered.
If it doesn't find a suitable alternative, it won't give you the option, it will just tell you the address is invalid.

I speak generally though. I haven't used the UPS plugin myself, so it may always return the entered address as an alternative, in which case you will always get the entered address as an alternative and an option to use the address exactly as entered, which would be little weird...
ray22901031  
#7 Posted : Thursday, December 17, 2020 1:30:45 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 827

Thanks: 3 times
Was thanked: 13 time(s) in 13 post(s)
I live in Miami and my office is also in Miami but in a smaller area that incorporated into a sub city 10 years ago called Doral. Of course the city of Doral wants everybody to start using Doral as opposed to Miami, but many address verification systems will not register Doral as a valid option.

This is true for many other parts of the United States where you have subsidies into larger cities, we have found especially when using the Postal Service, that mail gets to us quicker if we use Doral as opposed to Miami.

This may not be a big deal for many people, but if you are that type of person that already has stationary, and many other items that list a particular city and branding is a big concern, it can definitely make a difference.

I will eventually get to this when we launch, worst-case scenario we should have the ability to bypass the dialogue box.

Just my two cents.

Edited by user Thursday, December 17, 2020 1:31:28 PM(UTC)  | Reason: Not specified

Kevin26343616  
#8 Posted : Thursday, December 17, 2020 1:37:25 PM(UTC)
Kevin26343616

Rank: Newbie

Groups: Developers
Joined: 8/19/2020(UTC)
Posts: 4

Yeah, worst case you can always modify /Views/Shared/_AddressValidationModal.cshtml and /Controllers/MembersController.cs to handle it anyway you need to.
judy at Web2Market  
#9 Posted : Monday, December 21, 2020 7:34:19 AM(UTC)
judy at Web2Market

Rank: Advanced Member

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

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
shaharyartiwana25816656-
Could you post the bug fix when you complete it, even if it is in source code? We have a large client upgrading from R12 and I just ran across the issue also. At other times, the box did show addresses to select from.
This client is going to be purchasing source code so that we can fix bugs if they can't wait until AC comes out with a patch and the fix needs to be done in source code.
Thanks
Users browsing this topic
Guest (2)
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.