Services Plugins FAQs

Quickbooks Accounting - Refresh Token/Multiple Connections Issues

I’m using the Quickbooks Accounting plugin to create a product that will allow our customers to connect to their quickbooks clients and view and manage their journal entries. In an ideal build, customers will login when they register, connect their quickbooks companies, and be able to login and have the app query their customer profiles in relatively real time.

Building the app for use with a single quickbooks company hasn’t been too much of a problem, however when the access token expires, the user must disconnect and then reconnect their quickbooks account in order to use the app. How would I go about modifying the access token that the plugin keeps for each user connection? I know that it’s possible to query QBO’s API to get a token that will last significantly longer than the default 24 hours, and I’d like to not have my users need to sign in every day to view their data.

Additionally, I’ve been unable to figure out how to enable users to connect more than one company and store it in their Bubble login info so that they can view several companies without needing to create new accounts for each user. Ideally, I would like for users to be able to just add more companies to their account.

Are there solutions to this via the existing zeroqode app, or will this only be possible by using a manual API connection?

Hi, @vivian!

Thanks for reaching out!

Let me check this out and I’ll get back to you asap. Thanks for understanding :pray:

Best, Julia.

Hi, @vivian!

Unfortunately, currently, there is no way to prolong access to the app by modifying the access token.

The company is authorized at the application authorization level. QBO forces you to immediately choose a company even during authorization. In this case, I’m afraid through the plugin there is no way to add several companies, sorry. Please take a look at these threads that might be helpful for you: https://help.developer.intuit.com/s/topic/0TOG00000004r1mOAA/multiple-companies , https://help.developer.intuit.com/s/question/0D50f00004jz9MZCAY/how-to-setup-multiple-companies-via-api-to-use-with-a-saas-product.

Hope this helps!
Best, Julia.