Git Product home page Git Product logo

Comments (6)

DAMisener avatar DAMisener commented on August 17, 2024

Thanks for this...

I've been having similar discrepancies based on the supplied example (and YouTube video)

What's even worse is my end goal is a simple command line utility to export AR invoice and reformat it for posting into another legacy accounting system. OAUTH2 with QBO redirect is messing with my mind. :-(

from qbo_api.

minimul avatar minimul commented on August 17, 2024

Thanks @JohnSmall for posting that. Glad it is already helping. If you can fix up the README that would great too.

from qbo_api.

JohnSmall avatar JohnSmall commented on August 17, 2024

Ok, I think the most important part of the fix in the README would be to change

Part 1: Learn how to spin up the example app.

to

Part: Learn how to spin up the example app with OAuth (link to the OAuth section) or If you signed 
 up for a Intuit developer account after July 17th, 2017 follow this example (link to OAuth 2 section)

After spending ages working out how to get the example to work using the instructions for OAuth, linked at the top of the page, I found the complete instructions for OAuth2 at the bottom of the page.

What do you think? I'll fork, change and make a PR if that's how you'd like it.

from qbo_api.

JohnSmall avatar JohnSmall commented on August 17, 2024

Question following on from that. The specs require setting Consumer Key and Consumer Secret, which aren't available if you've got a recent QBO account and can't use OAuth. So how do I run the specs? I'm about to find out.

from qbo_api.

minimul avatar minimul commented on August 17, 2024

re: README. Yes, send in a PR.

Yeah, specs aren't OAuth2 ready but it shouldn't be too much work to support them.

Something in spec/support/credentials.rb => creds() to use the oauth2_creds() hash instead based on what vars you have set in the .env file.

That'll be great if you could work on that too.

from qbo_api.

JohnSmall avatar JohnSmall commented on August 17, 2024

Yes, I can see the issue with specs and OAuth2. I'll do that as well while I'm at it. Separate PRs though.

from qbo_api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.