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

Bug: Products keep getting added to the last, closed order #33

Open
stevebrownlee opened this issue Mar 16, 2024 · 0 comments
Open

Bug: Products keep getting added to the last, closed order #33

stevebrownlee opened this issue Mar 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@stevebrownlee
Copy link
Contributor

Steps to reproduce.

  1. Authenticate the client and get a token
  2. Create a payment type
  3. Add a product to the cart by sending a POST request to http://localhost:8000/profile/cart
  4. Finish the order by sending a PUT request to the order's URL
  5. Add a product to the cart by sending a POST request to http://localhost:8000/profile/cart

At this point, the product is being related to the completed order instead of a new one being generated.

@stevebrownlee stevebrownlee added the enhancement New feature or request label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant