Just wanted to mention that we're having trouble testing out your connector, when we click the connect to quickbooks button with our proper Consumer Key and Consumer Secret, we get an error, actually several errors one being a blank window after we click authorize.
In the window url the token, and the verifier shows up within the url but just get a pair of braces inside the body itself. If we click Sync Data to Quickbooks after this then this error appears:
Request Error
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 52, in application
init_request(request)
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 102, in init_request
frappe.init(site=site, sites_path=_sites_path)
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 121, in init
local.conf = _dict(get_site_config())
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 175, in get_site_config
raise IncorrectSitePath, "{0} does not exist".format(site_config)
IncorrectSitePath: 404: Not Found
2016-08-01 01:05:40,264 - /home/frappe/frappe-bench/apps/frappe/frappe/app.py [ERROR]:
Site: **************
Form Dict: {
"cmd": "erpnext_quickbooks.erpnext_quickbooks.doctype.quickbooks_settings.quickbooks_settings.sync_quickbooks_data_erp"
}
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 55, in application
response = frappe.handler.handle()
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
execute_cmd(cmd)
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 879, in call
return fn(*args, **newargs)
File "/home/frappe/frappe-bench/apps/erpnext_quickbooks/erpnext_quickbooks/erpnext_quickbooks/doctype/quickbooks_settings/quickbooks_settings.py", line 112, in sync_quickbooks_data_erp
customer_data = sync_customers(quickbooks_obj)
File "/home/frappe/frappe-bench/apps/erpnext_quickbooks/erpnext_quickbooks/sync_customers.py", line 13, in sync_customers
qb_customer = quickbooks_obj.query(customer_query)
File "/home/frappe/frappe-bench/apps/erpnext_quickbooks/erpnext_quickbooks/pyqb/quickbooks/client.py", line 257, in query
result = self.make_request_query("POST", url, select, content_type='text/plain')
File "/home/frappe/frappe-bench/apps/erpnext_quickbooks/erpnext_quickbooks/pyqb/quickbooks/client.py", line 202, in make_request_query
self.create_session()
File "/home/frappe/frappe-bench/apps/erpnext_quickbooks/erpnext_quickbooks/pyqb/quickbooks/client.py", line 111, in create_session
raise QuickbooksException("Quickbooks authenication fields not set. Cannot create session.")
QuickbooksException: Quickbooks authenication fields not set. Cannot create session.
Trying to reconnect again gives us this error which seems to be on quickbooks end:
Oops! An error has occurred.
Please close this window and try again.
Error Code: internal_error
Message: Error getting application from request token
Seems like the connection happening but something with setting the tokens in the session goes wrong.