Python Sample for Instant Buy API Copyright (C) 2013 Google Inc.
Basic python implementation of the Google Wallet for Instant Buy API.
To setup the sample app.
- If you don't already have a Google contact, submit the Instant buy interest form. Google will respond to qualified merchants with instructions on how to set up merchant credentials.
- Replace MERCHANT_ID, MERCHANT_SECRET, MERCHANT_NAME in main.py with your Merchant Id, Merchant Secret Key, Merchant Name.
- Create an API project in the Google API Console then select the API Access tab in your API project, and click Create an OAuth 2.0 client ID and also enable Google+ API in services tab.
- Replace CLIENT_ID, ORIGIN with your OAUTH Client Id and Application Origin Url.
Setup your application on Google appengine.
- Create new application at your appengine account.
- Change application name in app.yaml file.
- Follow instruction to install google appengine sdk for python and to upload the application on Google Appengine for Python Docs
- Upload your application on google appengine.
- Run your application from google appengine.