Code Monkey home page Code Monkey logo

Comments (10)

rebeccajfriedman avatar rebeccajfriedman commented on May 22, 2024 21

For the Storefront API, customer login on Shopify checkout is currently not supported, except through the header (via a mobile app). We are planning on adding support for Multipass, but please note that this is only available to Plus merchants.

I have added an issue to our backlog to update the checkout guide with more explicit information regarding this.

from storefront-api-examples.

drinkmorewaters avatar drinkmorewaters commented on May 22, 2024 19

Dealing with your undocumented SDK's, poor implementations and half baked methodology is a real pain. Not a day goes passed where we hit "Wait you can't do that?".......

from storefront-api-examples.

8eecf0d2 avatar 8eecf0d2 commented on May 22, 2024 11

Just want to bump this and confirm that there is still no (documented) Storefront API method to auto-login customers to the Shopify Checkout.

Multipass has been released and works as described but is not a part of the Storefront API and trying to achieve different goals.

There is a Storefront API mutation called checkoutCustomerAssociateV2 but unfortunately it only appears to set the checkout.email property to that of the customer - which I suppose does technically meet the criteria of assigning the checkout to a customer.

FWIW the removal of the customer_access_token query parameter would suggest that there is no Storefront API solution possible that would meet the security requirements (as they would all be effectively no more secure than a query parameter.)

The main reason this feature is important is it would remove the need for any server side logic (eg, Multipass) - however I'd assume the majority of merchants opting for custom storefronts probably don't see this as a big value add and already have server side logic.

@rebeccajfriedman is there any update on this feature coming to the Storefront API?

from storefront-api-examples.

SylarRuby avatar SylarRuby commented on May 22, 2024 1

I’ve just realised that we can associate a shipping address to a checkout. Oh man. Not sure how I’ve missed that. That way the customer has no need to log in again as they’ll see their email address and shipping already prefilled. Awesome!

from storefront-api-examples.

multiplehats avatar multiplehats commented on May 22, 2024 1

Just bumped into this frustrating limitation myself. Spent hours upon hours huilding a headless storefront, to find out you can't login someone via the Storefront Api when you redirect them to the check out.

Kinda weird it's possible for the mobile SDK. There has to be a way where we can generate a token server side to send along?

I'm actually sad 😞

from storefront-api-examples.

gil-- avatar gil-- commented on May 22, 2024

@rebeccajfriedman Thanks Rebecca! Appreciate the response. Having more explicit info in the guide will be much appreciated. Looking forward to the Multipass support for Plus clients.

from storefront-api-examples.

adrienpicard avatar adrienpicard commented on May 22, 2024

Facing this issue today too. Any update on implementing this into the Storefront API for non-Plus users @rebeccajfriedman?

from storefront-api-examples.

arslanramay avatar arslanramay commented on May 22, 2024

I’ve just realised that we can associate a shipping address to a checkout. Oh man. Not sure how I’ve missed that. That way the customer has no need to log in again as they’ll see their email address and shipping already prefilled. Awesome!

Looks like a good approach to associate shipping address to Checkout. However, I couldn't find any Mutation for associating Shipping Address to Checkout just like we have 'checkoutCustomerAssociateV2'. Could you please provide some more detail about how did you associate Shipping Address to Checkout? Thanks! :)

from storefront-api-examples.

nboliver avatar nboliver commented on May 22, 2024

@arslanramay some forum posts suggest the use of checkoutShippingAddressUpdateV2 to add the address, other Shopify docs imply you should log in with Multipass, but there are no examples of how to actually do that when you don't have a separate user system and just have a headless front end. Super frustrating!

from storefront-api-examples.

nboliver avatar nboliver commented on May 22, 2024

I’ve just realised that we can associate a shipping address to a checkout. Oh man. Not sure how I’ve missed that. That way the customer has no need to log in again as they’ll see their email address and shipping already prefilled. Awesome!

But you can't do it with a cart, and you need to use the cart workflow to access subscriptions.

from storefront-api-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.