-
Notifications
You must be signed in to change notification settings - Fork 138
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
why web-checkout need to login ? #547
Comments
we are working on this right now, but the issue that you need to pass the customer access token as a header argument in web checkout flow |
@sav007 Ivan, could you please let us know what is the status of this? Also, how could I transfer customer login state to the web checkout page by passing access token as header? Because I tried following which unfortunately didn't work. // Fetched customer access token
// I have associated customer using checkoutCustomerAssociate
// then ...
Map<String, String> additionalHttpHeaders = new HashMap<>();
additionalHttpHeaders.put("X-Shopify-Customer-Access-Token", token);
mWebView.loadUrl(checkout.webUrl, additionalHttpHeaders); This doesn't work. I didn't get customer automatically logged in on checkout web page. Because of this customer contact details are not prefilled. Please help. |
@yaxhpal have you able to solve it? |
any update?? |
Unfortunately no. I had to drop that Idea. I am sending customer info in Url query params like this.
|
Seems like there is no support for developers here. I am browsing to find solutions regarding checkout from android app, but there exist no answer from the sdk developers. so sad!
|
Hey @ranamrameez Feel free to post in our developer forums in order to get more eyes on the post from the community as well as our team. Here is the link: https://community.shopify.com/c/Custom-Storefronts-Support/bd-p/custom-storefronts In regards to your questions, I would need more information but it does sound like you have customer accounts required in Shopify which is causing the need for login on the redirect to the checkout. |
@sav007 Any update on this? Please we are struggling to make it work |
@ranamrameez @vixdug @venkataseshaiahudatha @bhavinwebdesk @yaxhpal @sabbirahmed |
user already login in my app then user when checkout in web-checkout why need to login in checkout.
The text was updated successfully, but these errors were encountered: