Why is guest customer billing information NULL - Magento 2 checkout and quote?

by user1704524   Last Updated June 13, 2019 10:09 AM

I'm trying to get guest customer billing information during the checkout session as I need to save it to the quote before redirecting to placeOrder but the billing information is always null.

How do I get this information in the checkout?

I have tried to get this data from quote.getBillingAddress() or checkout.getBillingAddressFromData() they both return null so does quote.guestEmail but I can access the cartId with quote.getQuoteId()

Does anyone know where billing information has now been stored?



Related Questions


Updated March 10, 2017 06:09 AM

Updated September 21, 2018 17:09 PM

Updated October 04, 2017 19:09 PM

Updated November 30, 2018 09:09 AM