See2Pay - Google Glass + Dwolla


(Spencer Hunter) #1

In relation to this blog post: http://blog.dwolla.com/dwolla-now-available-on-google-glass/. “Today, our partners at [The Members Group][1] (TMG), a financial services company that provides payments processing via their innovative suite of products, announced a cool new hack with Google Glass and, in the spirit of Dwolla, has released the code to [GitHub][2].”

This project was built by The Members Group (TMG). Major contributors: @brettneese

Contribute to the github repo starting today! :slight_smile:


[1]: http://www.themembersgroup.com/
[2]: https://github.com/Dwolla/dwolla-glass


(Ben Milne) #2

Nicely done, @brettneese!

Any chance anyone has taken a video of the Google Glass screens?


(Ben Milne) #3

To the top. Has anyone seen how this works on Glass?


(Spencer Hunter) #4

Walkthrough - Setting up See2Pay
See2Pay - Github
Quickstart Guide

  1. clone the github repo: https://github.com/Dwolla/dwolla-glass.git
  2. Download the App engine SDK

Creating a Google App Engine Instance:

  1. Go to http://appspot.com
  2. Click Create Application and create a public Google App Engine instance hosted on appspot.com.
  3. Give the application an Application Identifier, an Application Title, and leave the authentication Open to all Google Accounts users. You’ll need the application identifier later to configure the quick start project.

Creating a Google’s API console project:

  1. Go to the Google APIs console.
  2. Click Enable API and enable the Google Mirror API for your new project.
  3. On the Credentials page, click Create new Client ID
  4. Select Web application and specify any value for Authorized Javascript Origins, such as localhost
  5. Specify values for your Authorized Redirect URI: http://localhost:8080/oauth2callback and the callback URL for your App Engine instance, for example, https://myappengineinstance.appspot.com/oauth2callback.
  6. After creating the Client ID, Click Download JSON. You’ll need this information to configure the project
  7. Click on the Consent Screen page and fill out the required information.

Configuring the See2Pay Project

  1. Copy in your client information that you downloaded above into client_secrets.json

  2. You will need Dwolla API Credentials. Generate an Dwolla application here, then paste your credentials into _keys.py.

    Dwolla Secret Stuff

    apiKey = ''
    apiSecret = ''
    token = ''
    pin = ''
    oauth_return_url = 'http://localhost:8080/oauth2callback
    3.Set a PASSWORD in main_handler.py

  3. Set a PASSWORD in notify/handler.py

  4. Edit app.yaml to enter your App Engine application ID:

    application: your_app_engine_application_id
    version: 1
    runtime: python27
    api_version: 1
    threadsafe: true

Deploying the Project

  1. Add new application to GoogleAppEngineLauncher and click Deploy
  2. Navigate to your your project (i.e. - https://dwolla-gg-test.appspot.com/) and allow google glass permissions.
  3. Subscribe to location updates
  4. Pair your google glass with your smart phone to start using Dwolla See2Pay!


(Brett Neese) #5

one of the major roadblocks to getting this out to more people is the 1,000 api calls/day limit. until google relaxes it a bit it gets jammed up even with just one person using it, haha. i’m definitely working on reworking it so it doesn’t use as many requests but pretty heads down with SRND right now.


(Eryn) #6

(Eryn) #7