This is a POC app built using Node.js and Express Framework to showcase Intuit + Stripe integration. The app allows users to connect to their Intuit QuickBooks Company account using Intuit's OAuth2.0 Client library. Users can connect to their Stripe Account using Stripe's OAuth connect flow. After connecting the two accounts users can import sales transactions from Stripe, review them in the Web App, and export to Intuit's QBO as Sales Receipts. The app also recognizes charges that are already synced to prevent exporting duplicate transactions.
- Node.js >= 7.0.0
- Intuit Developer Account
- Stripe Developer Account
$ npm installCopy the contents from .env.example to .env within the sample directory:
$ cp .env.example .envEdit the .env file to add your:
- CLIENT_ID:(required) Client ID key for the Intuit Developer Account
- CLIENT_SECRET:(required) Client Secret key for the Intuit Developer Account
- STRIPE_CLIENT_ID:(required) Client ID key for the Stripe Developer Account
- STRIPE_SECRET_KEY:(required) Secret Key for the Stripe Developer Account
- ENVIRONMENT:(required) Environment for the Intuit Company; Set to
sandbox - REDIRECT_URI:(required) Redirect Uri for Intuit OAuth Callback
- PORT:(optional) Optional port number for the app to be served
- Add
http://localhost:8000/stripeCallbackas the default redirect URI in your Stripe Developer Account - Add
http://localhost:8000/callbackas the default redirect URI in you Intuit Developer Account settings in the Keys and OAuth section under Development
$ npm run startYou will see an URL as below:
Server listening on port 8000
Paste this URL in your browser to access the app: http://localhost:8000$ npm run test- Intuit OAuth Sample Project Repo - github repo link
- Intuit OAuth2.0 API Reference - Intuit API link
- Stripe API Reference - Stripe API link