Comments (6)
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.
Thanks @JohnSmall for posting that. Glad it is already helping. If you can fix up the README that would great too.
from qbo_api.
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.
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.
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.
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)
- Sending an Invoice HOT 9
- TypeError: superclass mismatch for class Cipher HOT 2
- Support other actions on attachables HOT 2
- Is the "OAuth2: Spin up an example" current? HOT 2
- Changelog or similar? HOT 2
- Sinatra server handler not found error with Ruby 3.0.1 HOT 2
- "All" method parameter "inactive" seems to be broken HOT 3
- Remove dependency on faraday_middleware HOT 4
- 401 Unauthorized issues after upgrade to qbo_api 3.0 HOT 8
- Can't convert Array to String (Array#to_str gives Array) (TypeError) HOT 3
- Library is not using latest API base version / minor version HOT 6
- raise_http_exception.rb#parse_json: undefined method `[]` for ni:NilClass (NoMethodError) HOT 7
- DOC: Remove reconnect & disconnect HOT 1
- FEATURE: quickbook hash manipulation methods HOT 7
- "Get" seems to be throwing a debug notification? HOT 1
- Purchase objects returned without root key? HOT 2
- No revoke method? HOT 6
- How to update preferences? HOT 2
- Why would a query request intermittently produce an error with "error_code: 120" HOT 1
- Recurring invoices HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qbo_api.