Skip to content

Creditmemo when using discount and partial refund does not return the full amount #4396

Open
@CalvinMcGee

Description

@CalvinMcGee

Preconditions (*)

Version: 20.0.20

Steps to reproduce (*)

  1. Create price cart rule
    Skärmdump 2024-11-28, 15 40 29
  2. Enable a payment provider that has _canRefundInvoicePartial = true.
  3. Place an order with payment provider and use the coupon code.
  4. Fulfill the order so it has status complete
    Screenshot 2024-11-28 at 16-05-19 #T-554883 _ Orders _ Sales _ OpenMage Admin
  5. Create a creditmemo.

Expected result (*)

The whole paid amount should be returned.

Actual result (*)

Order lines does not correlate to grand total and there is a difference.

Skärmdump 2024-11-28, 15 50 10

Paid amount in this case is SEK318, but Magento only wants to refund SEK255.50

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions