Skip to content

A Simple Sweet App to demo integration between Stripe payment platform and Intuit QuickBooks Online accounting platform

Notifications You must be signed in to change notification settings

nikpan/my-sweet-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intuit + Stripe OAuth2.0 Craft Demo Problem - NodeJS

Overview

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.

Installation

Requirements

Install dependencies

$ npm install

Configuration

Local Config Settings

Copy the contents from .env.example to .env within the sample directory:

$ cp .env.example .env

Edit 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

Developer Account Config Settings

  • Add http://localhost:8000/stripeCallback as the default redirect URI in your Stripe Developer Account
  • Add http://localhost:8000/callback as the default redirect URI in you Intuit Developer Account settings in the Keys and OAuth section under Development

Usage

$ npm run start

You will see an URL as below:

Server listening on port 8000
Paste this URL in your browser to access the app: http://localhost:8000

Test

$ npm run test

References

About

A Simple Sweet App to demo integration between Stripe payment platform and Intuit QuickBooks Online accounting platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published