Skip to content

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

Notifications You must be signed in to change notification settings

developersteve/Python-Hosted-Fields-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published