-
Notifications
You must be signed in to change notification settings - Fork 683
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use graphql to add item to cart (#1987)
* Rebase and use graphql invoker in add item to cart * Update invalid cart test to use message * Fix test * Fixup test * Feedback: Pass single mutation to action and remove unreachable trycatch * Fix tests * Disable addToCart if unsupported product type. * Oops * Add noCartId retry logic back to addItem * Immediately create a new cart after removing the old one. * Oops * Handle order completion, cart creation, and receipt state correctly * Fix tests * Use addItemMutation for update * remove unused imports
- Loading branch information
1 parent
96a2e32
commit 8e675f4
Showing
26 changed files
with
357 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.