Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

[Checkout Coverage] Place order for guest #571

Merged
merged 3 commits into from
Apr 16, 2019

Conversation

rogyar
Copy link
Contributor

@rogyar rogyar commented Apr 8, 2019

Description (*)

This PR adjusts place order resolver so guest is able to place order if guest email was previously set (#564). The quote details (customer firstname, lastname etc) are being populated from billing address as it's being performed for storefront checkout flow.

Manual testing scenarios (*)

  1. Create empty cart
  2. Add products to the shopping cart
  3. Set billing address for the shopping cart
  4. Set shipping address for the shopping cart
  5. Set shipping method for the shopping cart
  6. Set payment method for the shopping cart
  7. Set guest email for the shopping cart ([Checkout coverage] setGuestEmailOnCart mutation #564). As a temporary solution while the setting guest email mutation is not merged, you can set an email for the corresponding quote manually in the database in quote table.
  8. Place order using the following mutation:
mutation {
  placeOrder(input: {
    cart_id:"$maskedCartId"
  }) {
    order {
      order_id
    }
  }
}

@magento-engcom-team magento-engcom-team merged commit 87312d4 into 2.3-develop Apr 16, 2019
@ghost
Copy link

ghost commented Apr 16, 2019

Hi @rogyar, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

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

Successfully merging this pull request may close these issues.

3 participants