Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Solved! Go to the solution
This is an accepted solution.
Hi @amiewilt
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Hi @amiewilt
To learn more visit the Shopify Help Center or the Community Blog.
What is different between Storefront API and Mobile SDK?
Why can't we similarly use custom header of “X-Shopify-Customer-Access-Token” in your request to load the web checkout URL. for Storefront API?
Even we pass the header "X-Shopify-Customer-Access-Token" to the URL request still the webview shows the "logout" button. Is there any we can hide the logout option from the web payment URL?
Using mobile-buy-sdk-ios
thanks
Hi,
We've developed a frontend web app using Storefront API.
We can do user registration, login, etc but we cannot create an authenticated checkout.
When user is logged in in our web app, appears not logged in the checkout, but when the order is complete it's associated to the user.
We've tried both "cartCreate" and "checkoutCreate" APIs.
With "cartCreate" API we cannot assign "deliveryAddressPreferences" to the "CartBuyerIdentity".
We tried also with "cartBuyerIdentityUpdate" but it didn't work.
With "checkoutCreate" instead we can send the shipping address to the checkout and when the user arrive to the chekout the address is filled.
With "checkoutCustomerAssociateV2" we associate the user to the checkout object but the user is stil not logged in the checkout page.
Are there any solutions?
X-Shopify-Customer-Access-Token seems to work only withMobile SDKs.
Is it possible to create a logout where the user is logged in, if we login with Storefront API?