Closed
Description
Preconditions (*)
- Magento 2.3.4
Steps to reproduce (*)
Do all steps via GQL:
- Authorize ( generateCustomerToken mutation)
- Create cart (customerCart query)
- Add product to cart (addSimpleProductsToCart mutation)
- Set billing address (
setBillingAddressOnCart
mutation).
Important: save_in_address_book: true
input:{
cart_id:"cart_id"
billing_address:{
address:{
...
save_in_address_book:true
}
same_as_shipping:true
}
}
After this step customer address appears in customer_address_entity table.
Class \Magento\QuoteGraphQl\Model\Cart\Address\SaveQuoteAddressToCustomerAddressBook
do that.
- Set shipping method and payment method to the cart.
- Place order (placeOrder mutation)
Expected result (*)
- Address from step 4 should appear in customer account (e.g. in backend).
Actual result (*)
Additional info
Please, feel free to use the GraphQL Checkout tutorial to reproduce the issue
Metadata
Metadata
Assignees
Labels
GraphQLThe issue has been fixed in 2.4-develop branchGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentIndicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branch