public void TestCredentials(APIResponse apiResponse)
            {
                V2SettingsGenerator seetingsGen = new V2SettingsGenerator(GetProvider());

                try
                {
                    _plugin.TestCredentials(seetingsGen.GetSettings());
                    apiResponse.isSucess    = true;
                    apiResponse.ErrorSource = CCError.CCErrorSource.None;
                    apiResponse.Messages    = null;
                }
                catch (V2.CCProcessingException e)
                {
                    apiResponse.ErrorSource = CCError.CCErrorSource.ProcessingCenter;
                    apiResponse.isSucess    = false;
                    if (apiResponse.Messages.Keys.Contains("Exception"))
                    {
                        apiResponse.Messages["Exception"] = e.Message;
                    }
                    else
                    {
                        apiResponse.Messages.Add("Exception", e.Message);
                    }
                }
            }
            public void TestCredentials(V1.APIResponse apiResponse)
            {
                V2SettingsGenerator seetingsGen = new V2SettingsGenerator(_provider);

                try
                {
                    _plugin.TestCredentials(seetingsGen.GetSettings());
                    V1ProcessingDTOGenerator.ApiResponseSetSuccess(apiResponse);
                }
                catch (V2.CCProcessingException e)
                {
                    V1ProcessingDTOGenerator.ApiResponseSetError(apiResponse, e);
                }
            }