Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Braintree Hosted Fields Python demo using Flask

This is a reall basic example of the Braintree Hosted Fields using Flask to make a Credit Card or PayPal payment.

Technology

This demo uses

  • Python 2.7+
  • The flask web framework

Demo

  • Fill in the following credentials:
    • Number: 4111 1111 1111 1111
    • CVV: 123
    • Expiration date: 11/2020
  • Click submit

or you can sign in using your PayPal Sandbox account

Running the demo locally

  • Run pip install flask to install flask
  • Run pip install braintree to install braintree
  • Run Python app.py in the root project folder to run the server
  • Visit http://127.0.0.1:5000/ in your browser
  • Proceed as above

About

This is a reall basic example of the Braintree Hosted Fields using Flask to make a Credit Card or PayPal payment.

Resources

Releases

No releases published

Packages

No packages published