Re: APP Callback doesn't have a code parameter

APP Callback doesn't have a code parameter

IgorAS1
Tourist
5 0 1

I'm creating an application, but when I checked the documentation, I noticed that the return URL should come with the "code" parameter. However, when I try to test the app, it returns a URL without this parameter, as a result of which I can't proceed with the authentication.

 

Here's what I'm receiving:

index.php?hmac=1c31e7df3283d4743e4fb6abc5618c28e714ace47dcba1f46054e1ef63f5****&host=YWRtaW4uc2hvcGlmeS5jb20vc3RvcmUvdGVzdGVpZ29*****&shop=testeigordev.myshopify.com&timestamp=1706590808

 

Does anyone have an idea of how to proceed?

Replies 5 (5)

SomeUsernameHe
Shopify Partner
495 54 99

Can you show me the documentation you are following? 

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
IgorAS1
Tourist
5 0 1

Of course, I'm following this documentation here Getting started with OAuth (shopify.dev)

SomeUsernameHe
Shopify Partner
495 54 99

What coding language will your app be and is this app public or private? 

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
IgorAS1
Tourist
5 0 1

I am developing in PHP, using the following library https://github.com/phpclassic/php-shopify. However, the situation I mentioned occurs when I go to my application's address in the partner dashboard https://partners.shopify.com/3426087/apps/84292796417/overview and click on 'Test the app > Select Store'. When I install the app in the test store, it redirects to the configured URL, but the code parameter is not included, only the ones I showed above.

evan99
Shopify Partner
2 0 0

I'm experiencing similar, although I'm seeing traffic to the return URL missing all the parameters, not just the code.