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

Error refunding order items #868

Closed
michaelbromley opened this issue May 7, 2021 · 0 comments
Closed

Error refunding order items #868

michaelbromley opened this issue May 7, 2021 · 0 comments
Assignees
Labels
type: bug 🐛 Something isn't working @vendure/core

Comments

@michaelbromley
Copy link
Member

Describe the bug
When attempting to refund an OrderLine with multiple items more than once, an error will occur.

To Reproduce
Steps to reproduce the behavior:

  1. Create an order with 1 line containing 5 OrderItems
  2. In the Admin UI, refund 2 of them (do not cancel them)
  3. Then try to refund the other 3
  4. See error " Cannot refund an OrderItem which has already been refunded"

Expected behavior
It refunds the remaining 3 items.

Environment (please complete the following information):

  • @vendure/core version: 1.0.0-rc.0
  • Nodejs version: any
  • Database (mysql/postgres etc): any
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working @vendure/core
Projects
None yet
Development

No branches or pull requests

1 participant