I'm creating an extension which limits the Paymentmethodes in the checkout.
For this I have craeted the PlugIn MethodListPlugIn
with the Methode afterGetAvailableMethods
.
When I try to catch the dob or email in an guest checkout, (with getQuote()
(examp. getQuote()->getDob()
) of \Magento\Checkout\Model\Session
) I just get null.
So my question is: How can I fetch the dob and email of an guest in the checkout?