This commit is contained in:
@@ -298,20 +298,25 @@ namespace AyaNova.PlugIn.QBOI
|
||||
|
||||
//oAuth2 new variables
|
||||
public static Intuit.Ipp.OAuth2PlatformClient.OAuth2Client oac = null;
|
||||
//Sandbox keys:
|
||||
|
||||
|
||||
//SANDBOX
|
||||
//const string Q2_CLIENT_ID = "ABj70Wv5gDauFd9KgKFwuvpQjfzTwEgodEG8tnBbS8mSQhNrZJ";
|
||||
//const string Q2_CLIENT_SECRET = "XUmJyvEcEuwQuyhARUAm0a8G3gzbEAeMiATCLyFZ";
|
||||
//const string Q2_ENVIRONMENT = "Sandbox";
|
||||
//const string Q2_QBO_BASE_URL = "https://sandbox-quickbooks.api.intuit.com/";
|
||||
|
||||
//Production keys
|
||||
//PRODUCTION
|
||||
//const string Q2_CLIENT_ID = "ABdUcQuZU9RJuVta7Jqbul85LnTpBwuR54hmvgAMn7NnZOuZam";
|
||||
//const string Q2_CLIENT_SECRET = "iKd71iFV4PTaSlm22jB084RuiDIXcFfIEaOp88n4";
|
||||
//xor encrypted
|
||||
const string Q2_CLIENT_ID = "\b,:\n2;O=#3=A%%VC#\a7\v=\\W\r$.$\rR\a\0, 9$";
|
||||
const string Q2_CLIENT_SECRET = " %XX\n#Z&;\b0\t$\\D+S]}<-*=*(&,*9VN]";
|
||||
const string Q2_ENVIRONMENT = "Production";
|
||||
const string Q2_QBO_BASE_URL = "https://quickbooks.api.intuit.com/";
|
||||
|
||||
const string Q2_REDIRECT_URL = "https://qboauth.ayanova.com/redirect";
|
||||
const string Q2_ENVIRONMENT = "Sandbox";
|
||||
const string Q2_QBO_BASE_URL = "https://sandbox-quickbooks.api.intuit.com/";
|
||||
|
||||
const string Q2_REDIRECT_URL = "https://qboauth.ayanova.com/redirect";
|
||||
const double Q2_TOKEN_LIFESPAN_MINUTES = 45;//Minutes to hold on to access token before refreshing. Right now oct 2019 it's one hour lifespan.
|
||||
static string QBOI2_SESSION_TOKEN = "";
|
||||
public static string ACCESS_TOKEN { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user