question

rohitpandey avatar image
rohitpandey asked rohitpandey commented

Authorization returns NOT FOUND

Hi,

I have created app and submitted for review. Now, trying to authorize app on merchant account using: https://www.clover.com/oauth/authoriz...id={AppID}&redirecturi={UrlToRedirect}

'redirecturi' is the url where to redirect in following format: https://www.example.com/oauthcallback?code=[removed]&merchantid=EHFABCCE7D1SA&employeeid=ZX23RCCE7D1P1&client_id=HENXXTCZ3QP26

But when I hit the first url, it takes me to a page to select merchant and when merchant is selected then NOT FOUND shows in red popup.

What can be the reason that I am not able to get authorization url with properties which are to be used with 'auth/token' to get access token?

Auth
7 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hammer avatar image hammer ♦ commented ·

This is most likely because the merchant you have selected does not have the app (from AppID) installed.

0 Likes 0 ·
Mike M avatar image Mike M commented ·

Can you also inspect the network request for more information? Chrome, for instance, has a handy debug panel to see which API call(s) is failing to return Not Found.

It very likely is due to what @hammer stated though.

0 Likes 0 ·
rohitpandey avatar image rohitpandey commented ·

Thanks for your replies. Then how do I need to install the app. I think authorization process is a part of app installation. Right?

Also, while hitting first url, I had replaced { {placeholder}} values with actual ones.

I see NOT FOUND as popup of website and not in console.

0 Likes 0 ·
rohitpandey avatar image rohitpandey commented ·

Also, application is still under review.

0 Likes 0 ·
rohitpandey avatar image rohitpandey commented ·

Thanks mike for your response. I think once my app is authorized, I can set country subscription while setting price of the app.

0 Likes 0 ·
Show more comments

1 Answer

Mike M avatar image
Mike M answered

In the network requests log in Chrome's Debug panel, you should see a request coming back, likely a 40x error that is causing the Not Found popup.

Please also verify that your app has a valid Country Subscription in terms of both pricing and supported countries. I've run into the Not Found errors due to not setting up either of the above values in the past.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community