Email in Checkout is not prefilled when logged in #2248
Unanswered
beverlytang
asked this question in
Help
Replies: 1 comment
-
I thought it was related to multipass but this is a known issue: Shopify/hydrogen#1207. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure if this is a bug or if I'm not completing the multipass journey correctly. I have successfully implemented user login with multipass. However, the user's email isn't prefilled at checkout.
In
CartProvider
in App.server.jsx, I added thecustomerAccessToken
. This somewhat works. However, instead ofcart.buyerIdentity.email
being filled with the customer's email, there is wholecart.customer
object with the user's info, whilecart.buyerIdentity.email
isnull
.After the user is logged in via multipass, is this the correct way to pass on to checkout?
I have also tried using the
CheckoutButtonMultipass
example here but it generates the multipass token again so what I got instead was an error.Beta Was this translation helpful? Give feedback.
All reactions