Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolution for online refund #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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 <[email protected]>
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