Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer address not filled in the delivery field #154

Closed
vanhai989 opened this issue Jan 23, 2025 · 2 comments
Closed

Customer address not filled in the delivery field #154

vanhai989 opened this issue Jan 23, 2025 · 2 comments
Labels
Bug Something isn't working untriaged

Comments

@vanhai989
Copy link

What area is the issue related to?

Checkout Sheet Kit

What platform does the issue affect?

All platforms

What version of @shopify/checkout-sheet-kit are you using?

3.0.3

Do you have reproducible example code?

shopifyCheckout.present(cartStore.checkoutUrl);

Steps to Reproduce

step 1. Log in customer account
step 2. Add product to cart
step 3. Checkout

Expected Behavior

I expected that when checkout with the customer account has its address, they should be auto-filled in the delivery field, currently only email and country filled

Actual Behavior

Simulator.Screen.Recording.-.iPhone.14.Pro.Max.-.2025-01-23.at.16.33.46.mp4

Storefront domain

non domain related

Screenshots/Videos/Log output

No response

@vanhai989 vanhai989 added Bug Something isn't working untriaged labels Jan 23, 2025
@kiftio
Copy link
Contributor

kiftio commented Jan 23, 2025

Hi, I'd think in this case, the checkout is not actually authenticated, and any data is being taken from cart buyer identity.

The recommended way for authenticating a checkout can be found here

A similar thing works with classic/legacy customer accounts if you're using that, although you'll use customerAccessTokenCreate to obtain the token, instead of the OAuth exchange mentioned there.

@kieran-osgood-shopify
Copy link
Contributor

@vanhai989 Closing this issue, if you are still having issues with this feel free to re-open and include additional information on the requests you're made prior to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

3 participants