Skip to content

Conversation

@olivercastro
Copy link

Summary of the issue
Unable to issue credit memo (online refund) for invoice. It would return the error
Refund amount must be less or equal to charged amount

Steps to reproduce

  • Place an order with 2 distinct product items (with different prices)
  • Create an invoice for each order items. (The first invoice should have a grand total greater than the second invoice)
  • Create a credit memo for the first invoice

Expected Result

  • Should be able to issue a credit memo for the first invoice.

Actual Result

  • Unable to create a credit memo with message "Refund amount must be less or equal to charged amount"

Reason:
dibs_charge_id found in table sales_order_payment is getting updated with the latest generated transaction id upon creation of an invoice.

martinSternelius pushed a commit that referenced this pull request May 21, 2021
Feature/NE-37

Approved-by: Jose Sinisterra <jose@nordicwebteam.se>
konrad-konieczny added a commit that referenced this pull request Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant