Closed manoharsinghrawat-cedcoss closed 4 years ago
Hi @manoharsinghrawat-cedcoss
Please see this discussion on the topic here: https://github.com/Shopify/mobile-buy-sdk-ios/issues/841 - Let me know if this does not resolve your issue.
Hi, I am getting https://magenative.myshopify.com/22806971/checkouts/01adb751ce5be2cbeff3348118ecebae?key=7e951583b48533d5dba521e75cada133 as weburl from checkoutCustomerAssociateV2 mutation query but again it opens a login page, however it should open a page as logged in user so please tell any solution for this
@manoharsinghrawat-cedcoss Are you using WKWebView
? As stated in the linked issue:
Providing the customer access token using the X-Shopify-Customer-Access-Token header in your request to load the web checkout page should resolve the issue.
Glad that resolved it. I'm going to close the issue and move this conversation to the community forums as this is no longer a bug report: https://community.shopify.com/c/Storefront-API-SDKs/bd-p/custom-storefronts - Please post your how-to questions there with as much detail as possible for proper engagement.
With the help of Shopify SDK, we are implementing Web Checkout in the mobile apps. However, there is one issue in the case of logged-in customers. The mobile app is asking the customer to log in again inside the webview which is not appropriate even when the user is already logged in the mobile app . Please look into it and let us know how this issue can be fixed.