Hi we are developing an native mobile application for iOS and android platforms using storefront api's . I have query regarding shopify webcheckout.
Please help me in the process if i am doing something wrong.
Here are the steps i am following.
Step 1: I created one customer using shopify api
Step 2: Now i loggedIn in the app using credentials created at the time of customer registration As a output i got the customeraccesstoken which i stored in the app.
Step 3: Now I created Checkout using lineItems As a output i got the checkoutId.
Step 4: Now As i already loggedIn in the app and i have customer accesstoken so i associated the customer with checkout using function checkoutCustomerAssociate As a output i got the checkout weburl which i loaded in the browser but as i told you i already have the customer accesstoken so this time the url should not ask me to login, but it asking for login.
So Please help me how i can manage the login session in this or how can i avoid login at the time of checkout.
I also doing the same set of things and looking for the exact same solution that you asked for.
I think we should directly contact the shopify officials. If you find an solution then please let me know below.
Why they always do this? Users make them big and when they are big they step on users and they don't answer them, they don't resolve user's issues.
We got same issue here, can you tell us why cant' we do this simple thing in app? A simple redirect url that we can pass usrname and password to and it logs us in?