Rank: Advanced Member
Groups: Authorized User, Developers, Registered Joined: 4/17/2019(UTC) Posts: 80
|
I needed to assign a Payment Method to the Order Admin Group. The problem was that the site Super Users couldn't see the Payment Method even though I think that they should be able to see all methods that any Admin sees. I decided to add the Super User Group to the same Payment Method. I couldn't save with both Groups assigned to the method and the Super User Group was completely removed from the site. I tried with other User Groups and the result seems to be that a Group will be deleted. I wasn't able to have more than 1 group per Payment Method assigned via the Admin.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Administrators, Developers, Registered, HelpDesk, Authorized User Joined: 7/31/2019(UTC) Posts: 77
Was thanked: 8 time(s) in 8 post(s)
|
Hi, There is a bug with payment method groups assignment, on re-save the old assigned groups are getting removed/deleted. I have reported the issue and it will get fixed as soon possible. if you can re-complie the website, then its easy to fix, here are steps: 1. Open following file in Visual Studio: ~Website/Areas/Admin/Controllers/PaymentsController.cs 2. Navigate to Line # 130 and locate the following line of code: Quote://GROUP RESTRICTION if (method.Groups.Count > 0) method.Groups.DeleteAll(); And replace it with Quote://GROUP RESTRICTION if (method.Groups.Count > 0) method.Groups.Clear(); Save, and recompile the website project. Thanks for reporting the issue. Naveed Ashraf |
|
|
|
|
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.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close