Hi i am new to clover development, we are using Clover Billing where we doing following
private void callCloverForBilling(final Context context) {
Account account = CloverAccount.getAccount(context);
final AppsConnector appsConnector = new AppsConnector(context, account);
new AsyncTask<Void, Void, Void>() {
@Override
protected Void doInBackground(Void[] params) {
try {
appsConnector.logMetered(meterid, 1);
return null;
} catch (RemoteException e) {
e.printStackTrace();
} catch (ServiceException e) {
e.printStackTrace();
} catch (BindingException e) {
e.printStackTrace();
} catch (ClientException e) {
e.printStackTrace();
clientExceptionBilling = e.getMessage();
} catch (Exception ex) {
ex.printStackTrace();
}
return null;
}
@Override
protected void onPostExecute(Void aVoid) {
super.onPostExecute(aVoid);
try {
if (clientExceptionBilling != null) {
Toast.makeText(context, clientExceptionBilling, Toast.LENGTH_SHORT).show();
}
} catch (Exception ex) {
ex.printStackTrace();
}
}
}.execute();
}
But getting ClientException as "status code: 401 com.your.package has not been deployed", is anything it is related to sandbox and development? is meterid different for sandbox and development? please assist me for same, thank you.