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

When trying to checkout with an item that has been updated get a crash message #147

Open
1 task done
r-southworth opened this issue Sep 1, 2024 · 1 comment
Open
1 task done
Labels
bug Something isn't working

Comments

@r-southworth
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is. Please include screenshots in the section below if possible.

To Reproduce
Steps to reproduce the behavior:

  1. Add an item to the cart
  2. Edit the item (without removing it from cart)
  3. Try to checkout
  4. See error

Expected behavior
A clear and concise description of what you expected to happen. The item should handle the error more gracefully - maybe get the latest version of that item from supabase before checkout?

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2024-09-01 at 7 16 38 PM

Additional context
Add any other context about the problem here.

Proposed Solution
Any suggestions to resolve the issue. Modify the checkout the call the latest version of the item from supabase or check that the price id matches the current one or something.

  • I am willing to submit a pull request for this issue.
@r-southworth r-southworth added the bug Something isn't working label Sep 1, 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

No branches or pull requests

2 participants
@r-southworth and others