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

why web-checkout need to login ? #547

Open
sabbirahmed opened this issue Jun 1, 2018 · 10 comments
Open

why web-checkout need to login ? #547

sabbirahmed opened this issue Jun 1, 2018 · 10 comments

Comments

@sabbirahmed
Copy link

user already login in my app then user when checkout in web-checkout why need to login in checkout.

@sav007
Copy link
Contributor

sav007 commented Jun 13, 2018

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

@yaxhpal
Copy link

yaxhpal commented Jun 28, 2018

@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.

@bhavinwebdesk
Copy link

@yaxhpal have you able to solve it?

@venkataseshaiahudatha
Copy link

any update??

@yaxhpal
Copy link

yaxhpal commented Dec 4, 2018

@yaxhpal have you able to solve it?

Unfortunately no. I had to drop that Idea. I am sending customer info in Url query params like this.

checkout[billing_address][country]=India&checkout[billing_address][address2]=Near+Central+Park&checkout[billing_address][city]=New+Delhi&checkout[billing_address][last_name]=Shukla

@ranamrameez
Copy link

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!

  1. We have a logged-in user, he still needs to log-in in web checkout.
  2. Cash-On_Delivery option does not exist in Store Front API.
  3. RetryHandler not working!
    ....

@vixdug
Copy link
Contributor

vixdug commented Dec 6, 2019

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.

@ranamrameez
Copy link

@vixdug mam i have posted a question . but i am unable to find solution yet.

@Khudoyshukur
Copy link

@sav007 Any update on this? Please we are struggling to make it work

@Khudoyshukur
Copy link

@ranamrameez @vixdug @venkataseshaiahudatha @bhavinwebdesk @yaxhpal @sabbirahmed
Can you please tell us if you could make it work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants