Skip to content

Example of SDK v.zero for creating a user (storing name and payment_method_nonce for payments in vault), using Django

Notifications You must be signed in to change notification settings

enterstudio/JavaScript_Django--BT-v.zero--user_creation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Using the Braintree SDK v.zero with Javascript & Python (Django)

This is an example of the Braintree v.zero SDK for creating users in web applications, that will be stored in Braintree and related to merchant Braintree account. In the client side it uses javascript and for the server side python (runing Django framework) is used.

Technology

This demo uses

Running the server

  • Before run server, install braintree package using one terminal:

    • pip install braintree

Running the website app

  • Run the server from your terminal:
    • In the root folder of the project: python manage.py runserver
    • Select either of these payment methods:
      • (PayPal)
        • Fill in the following credentials:
          • Email: us-customer@commercefactory.org
          • Password: test1234
        • Click Agree to accept future payments
      • (Credit Card) Fill in the following credentials:
        • Number: 4111 1111 1111 1111
        • Expiration date: 11/15
        • CVV: 123
    • Click on Create User & add this payment method
    • You will see a message that says "Customer ID: [customer_id]"

Useful links

About

Example of SDK v.zero for creating a user (storing name and payment_method_nonce for payments in vault), using Django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%