As a Shopify merchant, we have an existent mobile app built with react-native and now we want to integrate a ‘shop’ feature within the app. We want to build it internally with our own tech guys. The problems we are facing now, is to complete the checkout within the app.
Our current situation:
- We are using React-Native to build the mobile app (no #C or Object-C, or Swift tech guys in team, so iOs or Android buy SDK is less considered.)
- We are integrating Shopify as part of the feature in the app, we now create a private app to get the access token for storefront API.
- We want to stick with this private app and not switch to public app as we do not intend to list our mobile app on the Shopify app market.
- We prefer not to use webview through web_url and want to complete the checkout within the app.
I read the checkout guide in the strorefront API page (https://help.shopify.com/en/api/storefront-api/guides/checkout-guide#completing-the-checkout), say if I want to use Stripe to complete the payment, I saw there were 3 setup requirements but none of them mentions whether the app has to be a sales channel. However, when I read posts on the Shopify community, lots of people say it needs to create a sales channel app to use the Checkout API. I presume a sales channel app is a public app and I’m pretty confused.
Does anyone know whether it’s possible to complete the checkout within the app using the checkoutcompletewithtokenizedpaymentv2 mutation provided by the Storefront API with a PRIVATE app?
Many thanks!!