Skip to content

Credit memo for orders with zero TotalPaid #13153

@klakovsky

Description

@klakovsky

Preconditions

  1. Magento 2.3-develop
  2. Create order with zero Amount (all Grand Total, Total Paid, Total Refunded, Total Due, Subtotal, Shipping & Handling, Tax are zero ) in status = "Pending" and 1 SKU qty = 1.

Steps to reproduce

  1. First Set tax calculation setting according to this screenshot
    57360176-14df4180-71ac-11e9-874b-6dcdd2a1f1d1
  2. then Create a Cart price rule.
    Screenshot (5)
    => Total discount: $104.00
  3. Tax percentage: 7% (all product prices on our store include tax, and our flat rate shipping fee includes tax as well)
  4. Create a bundle product according to this screenshot
    2019-05-09-11-36-i-13153-2-3-develop instances magento-community engineering
  5. Go to frontend, Add bundle product into the cart
    Screenshot (6)
  6. Go to checkout
  7. Continue as guest or as authenticated user and place order
  8. Create Invoice and now Order is status = "Processing"
  9. Now create Credit memo and refund and return product

Expected result

  1. Credit memo's grand total should be zero.
    Screenshot (8)

Actual result

  1. I'm seeing a negative dollar value in the credit memo
    Screenshot (7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: SalesIssue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions