This commit is contained in:
2
TODO.txt
2
TODO.txt
@@ -4,7 +4,9 @@
|
|||||||
Release Oct 2019 QBOI2 and etc
|
Release Oct 2019 QBOI2 and etc
|
||||||
|
|
||||||
QBOI
|
QBOI
|
||||||
|
CLIENTIDENCRYPTED "\b,:\n2;O=#3=A%%VC#\a7\v=\\W\r$.$\rR\a\0, 9$" string
|
||||||
|
|
||||||
|
CLIENT_SECRET_ENCRYPTED " %XX\n#Z&;\b0\t$\\D+S]}<-*=*(&,*9VN]" string
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////
|
||||||
//DONE STUFF
|
//DONE STUFF
|
||||||
|
|||||||
@@ -298,8 +298,17 @@ namespace AyaNova.PlugIn.QBOI
|
|||||||
|
|
||||||
//oAuth2 new variables
|
//oAuth2 new variables
|
||||||
public static Intuit.Ipp.OAuth2PlatformClient.OAuth2Client oac = null;
|
public static Intuit.Ipp.OAuth2PlatformClient.OAuth2Client oac = null;
|
||||||
const string Q2_CLIENT_ID = "ABj70Wv5gDauFd9KgKFwuvpQjfzTwEgodEG8tnBbS8mSQhNrZJ";
|
//Sandbox keys:
|
||||||
const string Q2_CLIENT_SECRET = "XUmJyvEcEuwQuyhARUAm0a8G3gzbEAeMiATCLyFZ";
|
//const string Q2_CLIENT_ID = "ABj70Wv5gDauFd9KgKFwuvpQjfzTwEgodEG8tnBbS8mSQhNrZJ";
|
||||||
|
//const string Q2_CLIENT_SECRET = "XUmJyvEcEuwQuyhARUAm0a8G3gzbEAeMiATCLyFZ";
|
||||||
|
|
||||||
|
//Production keys
|
||||||
|
//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_REDIRECT_URL = "https://qboauth.ayanova.com/redirect";
|
const string Q2_REDIRECT_URL = "https://qboauth.ayanova.com/redirect";
|
||||||
const string Q2_ENVIRONMENT = "Sandbox";
|
const string Q2_ENVIRONMENT = "Sandbox";
|
||||||
const string Q2_QBO_BASE_URL = "https://sandbox-quickbooks.api.intuit.com/";
|
const string Q2_QBO_BASE_URL = "https://sandbox-quickbooks.api.intuit.com/";
|
||||||
@@ -412,6 +421,7 @@ namespace AyaNova.PlugIn.QBOI
|
|||||||
//then test that all ops work witha fresh company connection
|
//then test that all ops work witha fresh company connection
|
||||||
static public bool StartAuthorization()
|
static public bool StartAuthorization()
|
||||||
{
|
{
|
||||||
|
|
||||||
//used to tie this session to the auth key on our server for fetching later
|
//used to tie this session to the auth key on our server for fetching later
|
||||||
QBOI2_SESSION_TOKEN = RandomInt64().ToString();
|
QBOI2_SESSION_TOKEN = RandomInt64().ToString();
|
||||||
|
|
||||||
@@ -460,7 +470,7 @@ namespace AyaNova.PlugIn.QBOI
|
|||||||
//start the clock on the tokens
|
//start the clock on the tokens
|
||||||
TOKEN_BIRTHDAY = DateTime.Now;
|
TOKEN_BIRTHDAY = DateTime.Now;
|
||||||
|
|
||||||
oac = new OAuth2Client(Q2_CLIENT_ID, Q2_CLIENT_SECRET, Q2_REDIRECT_URL, Q2_ENVIRONMENT);
|
oac = new OAuth2Client(Ec(Q2_CLIENT_ID, "Invoice"), Ec(Q2_CLIENT_SECRET, "Invoice"), Q2_REDIRECT_URL, Q2_ENVIRONMENT);
|
||||||
|
|
||||||
//case 3669
|
//case 3669
|
||||||
//https://help.developer.intuit.com/s/question/0D50f00005gFeqpCAC/how-do-i-suddenly-get-there-was-an-error-while-communicating-with-the-ids-server
|
//https://help.developer.intuit.com/s/question/0D50f00005gFeqpCAC/how-do-i-suddenly-get-there-was-an-error-while-communicating-with-the-ids-server
|
||||||
|
|||||||
Reference in New Issue
Block a user