Skip to content

COD fee unconditionally refunded in credit memo #34

@arion-p

Description

@arion-p

Preconditions

  1. Magento 2.4.x
  2. COD module configured to apply a fee

Steps to reproduce

  1. Create an order as customer with at least two items and COD payment such that a fee is applied
  2. In back end invoice the order (it doesn't matter if it is shipped or not)
  3. In back end try to create a credit memo for one of the items

Expected result

  1. User can specify wether COD fee will be refunded in the credit memo, preferably he should also be able to specify the amount

Actual result

  1. COD fee is refunded unconditionally. See attached screenshot
    image

This is a problem with partial refunds (e.g. defective product or damaged on delivery etc). Also if you do multiple refunds on an order, COD fee is refunded multiple times, once on every credit memo (even though it was only payed once)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions