shop pay auth,
im on progress build an app with reat native expo, but i not find any solution how to sign in with shop pay, if not API can do with web view ?
can you help about this problem ?
shop pay auth,
im on progress build an app with reat native expo, but i not find any solution how to sign in with shop pay, if not API can do with web view ?
can you help about this problem ?
Hi @irwan25
Shop Pay isn’t a general-purpose login system like Google, Apple, or Facebook. It’s designed only as a checkout accelerator within Shopify’s checkout and doesn’t have a public API you can use for authentication in a mobile app. That means you can’t build a “Sign in with Shop Pay” button for your React Native app, since Shopify doesn’t support it outside of their own checkout process.
The workaround is to use a WebView in your app. When a customer checks out through Shopify, you can load the checkout page in a WebView, and if Shop Pay is enabled for your store, it will automatically be offered as a payment option.
This lets customers benefit from Shop Pay’s fast checkout experience, but it’s limited to checkout only, you can’t use it to log users into your app.
Hope this helps!