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?