question

arunrajkarthikeyan avatar image
arunrajkarthikeyan asked arunrajkarthikeyan commented

How to get Merchant ID from Android app while a Merchant installing Android app from Clover AppMarket ?

How to get Merchant ID from android app?
Clover Android SDKApp MarketMerchant
10 |2000

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

1 Answer

Miguel avatar image
Miguel Deactivated answered arunrajkarthikeyan commented
You can get this information using the merchantConnector's.getMerchant().getId() methods. This should give you the merchant ID.
3 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.

arunrajkarthikeyan avatar image arunrajkarthikeyan commented ·
java.lang.SecurityException: package does not have permission MERCHANT_R

I am getting this error
how to solve this
0 Likes 0 ·
Miguel avatar image Miguel commented ·

Your app needs the correct permissions to read merchant info. You can grant this in your Developer Dashboard. Note you will need to uninstall and reinstall the app for new permission to be granted. Note, if you didn't initially downloaded the app from the App Market, your app won't have any permissions granted.

0 Likes 0 ·
arunrajkarthikeyan avatar image arunrajkarthikeyan commented ·
I couldn't find permission settings in sandbox developer account. Even I couldn't edit permission settings of the app. How to change app permissions in sandbox account.
0 Likes 0 ·

Welcome to the
Clover Developer Community