Hi,
I am working on a dashboard for merchants to view their data. This will not be an app that they download, but a web application. The business owner is the only one with a Clover account, so he is required to follow the oAuth flow to obtain the access token for each merchant.
When the business owner tries to get an access token for a particular merchant a 'Not found' popup appears on the following page: https://www.eu.clover.com/oauth/authorize?client_id=[client id - removed for this message]&merchant_id=[merchant id - removed for this message] when I look at the logs I get a 404 on the following endpoint:
https://www.eu.clover.com/v3/merchants/[removed for message]/apps/[removed for message]?expand=appLocales%2CandroidVersion.releaseNote%2CdeviceTypes%2CavailableMetereds%2CavailableSubscriptions%2CcurrentSubscription%2Cmodules%2Cscreenshots%2Cbilling&_=[removed for message] with the message:
{"details":"No app with ID [REMOVED FOR MESSAGE]","message":"Not Found"}
I have been trying to find out what could be causing this and have seen numerous suggestions such as subscription pricing needs to be set up with a country (which it is). That the merchant must install the app first (which in the scenario we are using it isn't possible?). That the app needs to be published.
Would anyone be able to shed some light on what is causing this issue and why the merchants endpoint cannot find the app?
Many thanks in advance for your help