reactioncommerce / reaction

Mailchimp Open Commerce is an API-first, headless commerce platform built using Node.js, React, GraphQL. Deployed via Docker and Kubernetes.
https://mailchimp.com/developer/open-commerce/
GNU General Public License v3.0
12.34k stars 2.17k forks source link

Failing cart to order completion without a billing address. #1498

Closed nenti closed 6 years ago

nenti commented 8 years ago

Expected behavior

In some e-commerce scenarios shipping address is not required and thus you can remove the workflow step in the checkout process.

Actual Behavior

When converting the cart to order on completing the checkout process an error occures and order never completes.

Steps to Reproduce the Behavior

Remove workflow step 2 from the checkout process. Checkout a shopping cart.

This issue is related to a wrong handling in method "cart/submitPayment" where a missing billing address is handled with a wrong mongo query.

aaronjudd commented 8 years ago

Thanks @nenti makes sense, we need to allow for payments that don't require a billing address.

brent-hoover commented 6 years ago

Issue moved to reactioncommerce/reaction-feature-requests #2 via ZenHub