reactioncommerce / reaction-feature-requests

Reaction Feature Requests
13 stars 1 forks source link

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

Open brent-hoover opened 6 years ago

brent-hoover commented 6 years ago

@nenti commented on Sat Oct 15 2016

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 on Tue Oct 18 2016

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