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
sweeperqb  
#1 Posted : Saturday, May 28, 2022 1:05:21 AM(UTC)
sweeperqb

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 5/30/2020(UTC)
Posts: 125

Thanks: 14 times
Was thanked: 3 time(s) in 3 post(s)
Set up a simple handler via a plug-in to see which of AC9's events fire when. For the most part events seem to fire when I would expect them to. However, when using the Returns tab on an order to return items, neither of these events are firing: ShipmentReturned -OR- ShipmentReturnedPartial.

As a side note, since neither of these events are firing, I can't tell if these events are solely based on products? The return panel only allows me to return products, not shipping. So if there are 2 products and 1 shipping line... Clearly if I only return 1 product it should be ShipmentReturnedPartial. However, if I return both products but the shipping line can't be removed via the Returns tab, should it be firing ShipmentReturned or ShipmentReturnedPartial?

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

nadeem  
#2 Posted : Monday, May 30, 2022 10:15:58 AM(UTC)
nadeem

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, Authorized User, Admin, System
Joined: 10/11/2018(UTC)
Posts: 109

Thanks: 17 times
Was thanked: 18 time(s) in 18 post(s)
Hi,

The ShipmentReturned and ShipmentReturnedPartial events aren't implemented although these appear in the list of available events. If you see the DefaultEventHandler.cs, you will notice NotImplementedException is thrown for both events. Even these events aren't hooked anywhere which is why it isn't triggered.
nadeem  
#3 Posted : Tuesday, May 31, 2022 12:31:25 PM(UTC)
nadeem

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, Authorized User, Admin, System
Joined: 10/11/2018(UTC)
Posts: 109

Thanks: 17 times
Was thanked: 18 time(s) in 18 post(s)
By the way, I have this logged to be investigated for a future version. Thank you!
Users browsing this topic
Guest
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.