Skip to content

agfor/braintree-python-appengine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

braintree-python-appengine

See it running at http://braintree-python.appspot.com/

The main points here are:

  1. Have billing enabled for the google app engine account.
  2. See the try block in main.py for how to get SSL working in development mode.
  3. Add ssl to your app.yaml.
  4. Use a working version of requests, or set the GAE_USE_SOCKETS_HTTPLIB environmental variable in your app.yaml.

requests versions 2.6.1, 2.6.2, and 2.7.0 use versions of urllib3 that don't work correctly with the App Engine urlfetch API. Either use an earlier version of requests or use this commit from my branch of requests to fix it. See this github issue for more information.

Starting with requests 2.10.0, it should be possible to use requests-toolbelt's AppEngineAdapter instead of the fix listed above. See the requests-toolbelt docs for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages