Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Pass cart items to process_order #43

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

seer-by-sentry[bot]
Copy link

Fixes REACT-5FV. The issue was that: Frontend sends full cart object; backend's process_order iterates over cart keys, not items, causing TypeError during inventory validation.

The cart object now contains an items key, so the process_order function needs to receive the items key instead of the entire cart object.

This fix was generated by Seer in Sentry, triggered by [email protected]. 👁️ Run ID: 320503

Not quite right? Click here to continue debugging with Seer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants