Testing a sales channel app

Hi All,
we are trying to test our new developed sales channel Shopify app

we installed the new app on a testing store but when being redirected to the store’s dashboard there is no optional sales channel accept the online store.

we expected to see the new sales channel app in the menu as well as an optional sales channel for the seller ( tester in our case)

could anyone indicate if this was supposed to be the case or if there is a documentation about how to test a new developed sales channel app (need to test checkout api and inventory adjustments in real-time using the api

Tnx
Itai

Hey @Itaima ,

Can you please provide app/store details?

Hi,
the app enables sellers to offer one or more of their items ( from their shopify store ) through our mobile app to our mobile app users.

we’d like to run a full flow test before launching , incl checkout testing (our mobile app users will checkout from within our mobile app using the shopify api )

pls specify which information you need so we can provide it .

the issue at hand is that we need to install the app on a development /testing shopify store to run the checkout / inventory availability updates tests and when installing it it gets installed as a regular shopify app and not as a sales channel.
what we would have expect to see is our app icon under the "sales channels " list header in the testing shop admin dashboard.( this is what happens when we install a shopify sales channel app from the shopify app store ( not our app) but in our case it doesn’t happen and we can’t see out app in the sales channels list even though we provided a dedicated icon and link for this purpose in the app setup page.

pls advise

Can you provide the app name? Has it been marked as a sales channel in the app settings?

Hi
The app’s name is “elolos”
it has been configured and approved as a sales channel
+
has an active navigation link from the Shopify seller’s admin
Check out the attached screenshots taken just now

Itai

Thanks @Itaima ,

I just tested with a demo sales channel app, the app appears under ‘Sales Channels’ in the admin when testing on a development store.

The elolos app doesn’t appear to have any installs - is the install process completing successfully?

Hi,
check this out

https://www.loom.com/share/3f491d75bac5409a8bc767a5acffbf63

showing how I installed the app on a new dev store that had no apps installed beforehand and after the installation, it shows a new app install but not a sales channel added to the admin dashboard/menu as we would have expected.

the app is set up as a sales channel in the app settings + has an icon and a navigation link configured in the sales channel app settings

am I missing something here ?

Itai

Hey Itai,

Thanks for the recording.

I notice the partner account has two apps with the same name. It appears eLolos (2883757) is installed, not the eLolos sales channel (3394049).

The first redirect from Shopify, when you test the sales channel app is to:

https://shopifyrouter.elolos.com/?hmac=…&shop=…&timestamp=… (note this is the same URL used by the other app).

Then, your app redirects to the Shopify app install confirmation page:

https://testing-store-15-4-2020.myshopify.com/admin/oauth/authorize?client_id=d59a97…&scope=…&state=…&redirect_uri=…

Note the client_id (API key) value is for the non-sales channel app (2883757).

Oh,

Got it.
so changing the name of one app should solve it ? (adding an underscore for example )
or should we change the entire callback URL ?

itai

There aren’t any identifiers on the initial redirect, so a separate URL might make the most sense.

Gotcha,
do you believe this should solve the issue ?

Question :
since we intend to delete (remove from shopify app store ) the old app and leave only the new sales channel app once it gets approved .do you think that deleting the old app from the app store and using the redirect url to point to the new sales channel we want to test is a logical action to take at this point + should fix the issue we currently experience ?

You’d also need to update the API keys, which would break the old app for any existing users.

Done
Works !

amazing tnx

now we are facing a new error :

https://www.loom.com/share/5d9209b92f024344a96da44cfa7705fd

does it seem like a wrong ref on our side?

Itai

Interesting. Have you tried removing the sales channel + reinstalling?

Hi Scotty,
yes
still the same issue

video of the entire process attached
https://www.loom.com/share/61d168ee8b424d7789d7b6ce98d9a448

Itai

Ah, it’s because of this link in your embedded app settings.

what should be the link ?
when we ass the actual link that is used do access the sales channel dashboard directly it does not work …

Given the app url is http://shopifyrouter.elolos.com/, the link will need to start with this URL.

If you’ve only got one link, you could probably remove it, which means the app will just load [http://shopifyrouter.elolos.com/](http://shopifyrouter.elolos.com/)

Hi Scotty,
General question regarding a Shopify sales channel app :

just making sure I understand the flow correctly :

1- merchant install sales channel app on Shopify app store
2-merchant gives permission to the Shopify sales channel app to read products listing etc
3-user is being redirected to our Shopify sales channel dashboard
4- a list of his products can be shown (we will read it directly from his listing API )
5-merchant will select manually which products from his listing he would like to sell via our sales channel + special discount and items amounts limit
6-from this point our sales channel app is in sync with the merchant’s listing so items that will be added / removed from the merchant’s listing will be updated using the listing API and next time the merchant will open our sales channel products page in our dashboard he will see an updated list of his products to choose from ( which item to sell via our sales channel app)

  • the main question here is regarding point # 4 , can we automatically fetch all items from the store listing in order to show an items list he can use to choose the items he would like to sell via our sales channel app based on the permission we got during the installation process or does he need to do any other manual and active action in order for us to be able to fetch his store entire products list and the items info (photo , price , name , qty , etc )

Tnx
Itai