Return Order with Specific order item ?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 anos atrás
NopCommerce version: 4.0.0

Hi,
Is there any event publisher which can help me to get details(order item) of particular Returned product ??
Like we have OrderPlacedEvent, In which we can get all ordered items, Is there any same event in which i can get item detail which was returned by customer ??

Actually I'm making tax plugin, in which I submit all order items to Tax service provider to capture tax on individual order items based on shipping & origin address, and in return it gives me tax rates for individual order items, this works fine for me,
Now when customer return one order item, then i also have to make Returned request to Tax service provider, that particular this order item is returned, and it will deduct the tax which is captured in past during order place event.

Any help would be appreciated.
Thanks in advance.
3 anos atrás
These are the Order related events

\nopC400\Libraries\Nop.Core\Domain\Orders\Events.cs
  Line 6:     public class OrderPaidEvent
  Line 26:     public class OrderPlacedEvent
  Line 46:     public class OrderCancelledEvent
  Line 66:     public class OrderRefundedEvent
3 anos atrás
New York wrote:
These are the Order related events

\nopC400\Libraries\Nop.Core\Domain\Orders\Events.cs
  Line 6:     public class OrderPaidEvent
  Line 26:     public class OrderPlacedEvent
  Line 46:     public class OrderCancelledEvent
  Line 66:     public class OrderRefundedEvent


Thanks for reply,
Yes, I know this OrderRefundedEvent, but this event will not ensuring me that this particular order item has returned, this event pass with Amount parameter  which include the amount which was returned against this Order, right ?
3 anos atrás
could you use EntityUpdatedEvent<ReturnRequestAction> instead?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.