Skip to content

OrderTransactionUpdatingNotification not triggered on second partial refund #794

@nickfrederiksen

Description

@nickfrederiksen

Which component is this issue related to?

Umbraco Commerce (Core)

Which Umbraco Commerce version are you using? (Please write the exact version, example: 10.1.0)

16.4.1

Bug summary

When refunding an order for a second time, the OrderTransactionUpdatingNotification is not triggered.

Specifics

No response

Steps to reproduce

Register a handler for the OrderTransactionUpdatingNotification event.

Create, and finalize, a new order with at least 3 order lines.

In the backoffice, find the order and click the refund button.

Select to refund one of the three order lines.

Observe that the handler is triggered as expected.

Now, go to the order again, and select to refund on of the remaining lines.

Observe the handler is not triggered. Nor is there a new entry in the "Activities"-panel on the order.

Expected result / actual result

The OrderTransactionUpdatingNotification should be triggered on all refunds. Both full, single partial, secondary, and tertiery refunds.

Dependencies

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions