This commit is contained in:
@@ -114,13 +114,19 @@ namespace AyaNova.PlugIn.QBOI
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (AyaNovaVersion.Major != 7)
|
||||
{
|
||||
MessageBox.Show("This AyaNovaQBOI plugin requires AyaNova version 7");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (AyaNovaVersion.Minor < 6)
|
||||
{
|
||||
MessageBox.Show("This AyaNovaQBOI plugin requires AyaNova version 7.6 or higher");
|
||||
return false;
|
||||
}
|
||||
|
||||
Util.GlobalSettings = AyaBizUtils.GlobalSettings;
|
||||
|
||||
ObjectsWeCanDealWith = new List<RootObjectTypes>();
|
||||
|
||||
@@ -414,10 +414,10 @@ namespace AyaNova.PlugIn.QBOI
|
||||
{
|
||||
//used to tie this session to the auth key on our server for fetching later
|
||||
QBOI2_SESSION_TOKEN = RandomInt64().ToString();
|
||||
string LicenseId = GlobalEx.GetItem().DigestValue;
|
||||
|
||||
|
||||
//shell out to browser for user to login to QB
|
||||
System.Diagnostics.Process.Start("https://qboauth.ayanova.com/start/" + QBOI2_SESSION_TOKEN + "/"+ LicenseId);
|
||||
System.Diagnostics.Process.Start("https://qboauth.ayanova.com/start/" + QBOI2_SESSION_TOKEN + "/"+ AyaBizUtils.LicId);
|
||||
|
||||
|
||||
//Open dialog that polls for token repeatedly, there is a delay built into the server
|
||||
|
||||
Reference in New Issue
Block a user