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

GET all orders returns orders for deactivated extensions #45

Open
mindgraffiti opened this issue Aug 24, 2018 · 1 comment
Labels

Comments

@mindgraffiti
Copy link

@mindgraffiti mindgraffiti commented Aug 24, 2018

woocommerce/woocommerce-ios#242

Example site: https://nuoshoppe.mystagingwebsite.com/
Deactivated extension: Deposits

Steps to Reproduce

  1. Set up a site with the Deposits extension activated.
  2. Create an order that uses Deposits.
  3. Make an API request for a list of orders. GET /wp-json/wc/v2/orders
  4. Deactivate Deposits.
  5. Make an API request.

Expected Result
The API response does not include the order with the deactivated extension.
For the example site, Order No. 801 should not appear in the response.

Actual Result
The order is included in the response.
For the example site, Order No. 801 appears in the response.

The desktop website has the expected behavior, even though the API response doesn't.

@claudiosanches claudiosanches transferred this issue from woocommerce/wc-api-dev Oct 4, 2019
@issue-label-bot issue-label-bot bot added the type: bug label Oct 4, 2019
@issue-label-bot

This comment has been minimized.

Copy link

@issue-label-bot issue-label-bot bot commented Oct 4, 2019

Issue-Label Bot is automatically applying the label type: bug to this issue, with a confidence of 0.85. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.