Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Auth for QuickBooks Online failed, unable to retrigger auth

Rob Bosch   ( User )

Commented 3 years ago

I've installed the QuickBooks App and entered my credentials into the settings. When I clicked Auth, the QuickBooks Online auth window said there was an error. Now there is no way to re-trigger an Auth, the settings panel only has the Cancel/Save buttons active. How can I "reset" this App?

Rob Bosch   ( User )

Commented 3 years ago

I was able to retrigger the Auth settings by uninstalling the App and manually deleting the quickbooks.client_id and quickbooks.client_secret from the settings table for Akaunting. It looks like uninstalling the App does not remove these two entries from the settings table. Once reset, I entered the username/password again and the Auth returned an error again which is

Uh oh, there’s a connection problem.
Sorry, but the app didn’t connect. Please try again later, or contact customer support for help.

I verified the correct username and password by selecting the "Not You" option and going through the login again. Once login at Intuit was successful, the same error message occurred.

Also tested using a private window to make sure no cached credentials were an issue. Same error.

Rob

Melda Melda   ( User )

Commented 3 years ago

Hi Rob,

Thank you for your feedback. We have sent you an email about your case from [email protected]. Could you please kindly check?

Rob Bosch   ( User )

Commented 3 years ago

I saw the email from Yusuf and replied yesterday with additional information. No response so far. Thanks.

Rob Bosch   ( User )

Commented 3 years ago

Regarding the "Auth" button, the file storage/framework/views/91e14fe9ef6269672c9de21b6eef5d263d39206f.php uses the $is_cloud variable to determine if the settings for client_id and client_secret should be displayed but the "else" logic then leaves off the Auth option. It seems like the Auth button should appear anytime the quickbooks.realm_id is blank so removing the "" line before "" would make the UI work properly. Just guessing by looking at the code.

It would help immensely if you would post where the parameters of the module are stored, and confirm the redirect URL's are set up properly in the module.

Rob Bosch   ( User )

Commented 3 years ago

Tested version 1.01 released yesterday. Issues persist.

Rob Bosch   ( User )

Commented 3 years ago

Is the App still under development? I haven't heard anything for a week.

Stojan   ( User )

Commented 3 years ago

Hi Rob. Maybe I can help you. Look like you are using the wrong credentials to authorize your QBO and Akaunting app, so let us go step by step.
Can you tell me do you use your localhost or use some public address for hosting your Akaunting App?

Stojan   ( User )

Commented 3 years ago

Hi Rob.
Please take a look updated version of the Installation documentation here:
https://akaunting.com/apps/quickbooks

Rob Bosch   ( User )

Commented 3 years ago

The updated documentation is extremely helpful as it outlines how you have to create the developer account yourself and the information in the settings are the API credentials.

For clarity and help to others, I set up the developer account and created a production app (production or development probably works). Plus, the redirect URL needs to be all lower case so it matches exactly. Once I did this, I went through the Auth in the Akaunting app and the sync button appeared and I was able to sync the data that the App supports at this point.

The data that syncs comes across well! One thing after syncing the COA, be sure to modify the account types as appropriate. For example, my bank accounts came across as an asset account since that's how they are defined in QuickBooks. I needed to manually changes those to Bank&Cash in Akaunting.

Very nice App to get data across for those that need it! Thanks for taking the time to update the thread and the install instructions!

Please login or register to leave a response.

Showing 1 to 10 of 17 discussions