Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

tr_checkout_app_engine

Overview

This code is a demonstration of creating one time transactions using the Braintree transparent redirect API. We decided to use the web.py framework because its simplicity allows us to clearly demonstrate concepts without added noise. This example was designed to run on Google App Engine. This example is identical to the tr_checkout example except:

  • the web.py source is placed at the top level of the example
  • the braintree package source is placed at the top level of the example
  • the braintree package is configured to use unsafe ssl (no certificate verification) because App Engine does not allow access to M2Crypto
  • the web.py app is run using the cgirun() method rather than the run() method
  • web.py templates were complied using the following command:
    • python web/template.py --compile templates

Getting Started

To run the exmaple: