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

A buyer can cancel the hold invoice in status waiting-payment, but the order is not cancelled #380

Closed
Catrya opened this issue Oct 29, 2024 · 0 comments · Fixed by #428
Closed
Labels
bug Something isn't working

Comments

@Catrya
Copy link
Collaborator

Catrya commented Oct 29, 2024

If the maker of a purchase order sends action cancel to Mostro when the order is in status waiting-payment, the order will not be cancelled, the buyer will receive Action: CantDo. However, the hold invoice is cancelled, it goes from "state": "OPEN", to "state": "CANCELED".

Steps to reproduce it:

  1. The buyer creates a purchase order
  2. The seller takes it. Order goes to status waiting-payment. Mostro creates a hold invoice with "state": "OPEN"
  3. The buyer sends the cancel action before the seller pays the invoice. The order remains in status waiting-payment, but the hold invoice goes to "state": "CANCELED"

I think the suggestion in issue #379 should be followed and the order should be cancelled.

@Catrya Catrya added the bug Something isn't working label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant