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

Completing(or Canceling) Order #471

Open
dalyathan opened this issue Jul 12, 2024 · 0 comments
Open

Completing(or Canceling) Order #471

dalyathan opened this issue Jul 12, 2024 · 0 comments
Assignees
Labels
bug Something is broke

Comments

@dalyathan
Copy link
Member

dalyathan commented Jul 12, 2024

Which plugin/repository is the issue about?
@pinelab/vendure-plugin-admin-ui-helpers

Describe the bug
Currently, the plugin does nothing when we attempt to complete (or cancel) an Order in the ArrangingPayment state or when we try to complete an Order in a custom Vendure state.

To Reproduce
Steps to reproduce the behavior:

  1. Go to an Order which is on ArrangingPayment state
  2. Click on Complete(Cancel)
  3. Nothing happens.

Expected behavior
It should complete(or cancel) the Order or let the user know why the won't be possible.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • NodeJS version 20.8.1
  • Vendure version: 2.1.5
  • Plugin version 1.2.0
  • Database Mysql

Additional context
Another possible solution is disabling the button if canceling (or completing) an Order is not expected in that state.

@dalyathan dalyathan self-assigned this Jul 12, 2024
@dalyathan dalyathan added the bug Something is broke label Jul 12, 2024
@dalyathan dalyathan changed the title Completing(Canceling) Order which are on ArrangingPayment state Completing(or Canceling) Order which are on ArrangingPayment state Jul 12, 2024
@dalyathan dalyathan changed the title Completing(or Canceling) Order which are on ArrangingPayment state Completing(or Canceling) Order on ArrangingPayment state Jul 12, 2024
@dalyathan dalyathan changed the title Completing(or Canceling) Order on ArrangingPayment state Completing(or Canceling) Order Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broke
Projects
None yet
Development

No branches or pull requests

1 participant