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

Update cart processing to access items within the cart #54

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 object keys, not product items, causing TypeError when accessing item['id'].

The cart processing logic was updated to correctly access the 'items' array within the 'cart' object. This ensures that the order processing function receives the correct data structure.

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

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