minimul / minimulcasts Goto Github PK
View Code? Open in Web Editor NEWCode to go with Part 1 of Integration Rails and QBO with the version 3 API
Code to go with Part 1 of Integration Rails and QBO with the version 3 API
Hello @minimul just bought the book for QuickBooks integration but where is "Volume II will cover actually syncing name list and transaction entities to QBO. Volume III will deal with getting your app on the Intuit App Store" ?
Hi,
following your tutorial http://minimul.com/integrating-rails-and-quickbooks-online-via-the-version-3-api-part-1.html I'm getting the following error when my app processes callback.
NoMethodError - undefined method `get_access_token' for #<Hash:0x007fa5eba468c8>:
def oauth_callback
at = session[:qb_request_token].get_access_token(:oauth_verifier => params[:oauth_verifier])
...
end
Not sure where get_access_token
method should come from? quickbooks-ruby
gem or my code? Do you mind explaining what this does especially the verification oauth_verifier
. Finally any idea why it fails?
Thank you.
Here is the output I receive
>> session[:qb_request_token]
=> {"token"=>"111", "secret"=>"111", "consumer"=>{"key"=>"111", "secret"=>"111", "options"=>{"signature_method"=>"HMAC-SHA1", "request_token_path"=>"/oauth/v1/get_request_token", "authorize_path"=>"/oauth/authorize", "access_token_path"=>"/oauth/v1/get_access_token", "proxy"=>nil, "scheme"=>"header", "http_method"=>"post", "oauth_version"=>"1.0", "site"=>"https://oauth.intuit.com", "authorize_url"=>"https://appcenter.intuit.com/Connect/Begin"}, "http_method"=>"post", "http"=>{"address"=>"oauth.intuit.com", "port"=>443, "local_host"=>nil, "local_port"=>nil, "curr_http_version"=>"1.1", "keep_alive_timeout"=>2, "last_communicated"=>nil, "close_on_empty_response"=>false, "socket"=>nil, "started"=>false, "open_timeout"=>30, "read_timeout"=>30, "continue_timeout"=>nil, "debug_output"=>nil, "proxy_from_env"=>true, "proxy_uri"=>nil, "proxy_address"=>nil, "proxy_port"=>nil, "proxy_user"=>nil, "proxy_pass"=>nil, "use_ssl"=>true, "ssl_context"=>{"cert"=>nil, "key"=>nil, "client_ca"=>nil, "ca_file"=>nil, "ca_path"=>nil, "timeout"=>nil, "verify_mode"=>0, "verify_depth"=>nil, "renegotiation_cb"=>nil, "verify_callback"=>nil, "options"=>-2097019905, "cert_store"=>nil, "extra_chain_cert"=>nil, "client_cert_cb"=>nil, "tmp_dh_callback"=>nil, "session_id_context"=>nil, "session_get_cb"=>nil, "session_new_cb"=>nil, "session_remove_cb"=>nil, "servername_cb"=>nil, "npn_protocols"=>nil, "npn_select_cb"=>nil}, "ssl_session"=>{}, "enable_post_connection_check"=>true, "sspi_enabled"=>false, "ca_file"=>nil, "ca_path"=>nil, "cert"=>nil, "cert_store"=>nil, "ciphers"=>nil, "key"=>nil, "ssl_timeout"=>nil, "ssl_version"=>nil, "verify_callback"=>nil, "verify_depth"=>nil, "verify_mode"=>0}}, "params"=>{"oauth_token_secret"=>"111", "oauth_callback_confirmed"=>"true", "oauth_token"=>"111"}}
I'm integrating QBO support for my app, and use it just for personal accounting (for just the app) and not as a SaaS offering.
For eg: I only want to create customers once they sign up, create receipts when they buy a product and calculate taxes on that sale + generate invoices for the same, calculate monthly revenue, etc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.