Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How to test an app on a development store without a code?

Solved

How to test an app on a development store without a code?

JOSEPH_ANDERSO1
Shopify Partner
43 0 7

Hi,

 

I am trying to test installing my app on my development store.

 

When I go to test app on development store, I am redirected back to my site. The parameter code is missing. This means I cannot obtain an access token, then send the user to Shopify to pay. Here is the URL that I receive:

 

hmac=X&host=Y&shop=myshop.myshopify.com&timestamp=1701874522

 

How do I get a code, so I can make an access token?

Accepted Solution (1)

reastful
Shopify Partner
2 1 1

This is an accepted solution.

Hi,

 

The auth process includes few steps:

 

At first you need to verify the installation request from Shopify (you are here)

 

Then you need to redirect user back to Shopify so he can confirm it and give you an access to his data

 

Then he will be redirected to your site again and you will need to obtain an access token from the oauth server

 

The whole process is described here, please follow it step by step and you will make it

 

https://shopify.dev/docs/apps/auth/oauth/getting-started

View solution in original post

Replies 3 (3)

reastful
Shopify Partner
2 1 1

This is an accepted solution.

Hi,

 

The auth process includes few steps:

 

At first you need to verify the installation request from Shopify (you are here)

 

Then you need to redirect user back to Shopify so he can confirm it and give you an access to his data

 

Then he will be redirected to your site again and you will need to obtain an access token from the oauth server

 

The whole process is described here, please follow it step by step and you will make it

 

https://shopify.dev/docs/apps/auth/oauth/getting-started

poik
Shopify Partner
2 0 0

Hi this does not address the issue. The problem is when it is redirected to our site again, the code parameter is missing thus unable to request for the access token. Any solution for this ?

poik
Shopify Partner
2 0 0

hi did you manage to get the working solution for this ?