williams9438 / django-stripe-connect

stripe connect with django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting up Stripe Connect with Django

Want to learn how to build this?

Check out the post.

Want to use this project?

  1. Fork/Clone

  2. Create a virtual environment and install the dependencies:

    $ pipenv shell
    $ pipenv install
  3. Apply the migrations, create a superuser, and add the fixtures to the DB:

    $ python manage.py migrate
    $ python manage.py createsuperuser
    $ python manage.py loaddata fixtures/users.json
    $ python manage.py loaddata fixtures/courses.json
  4. Add your Stripe test secret and test publishable keys along with your Connect client id to the bottom of the settings.py file:

    STRIPE_PUBLISHABLE_KEY = '<your test publishable key here>'
    STRIPE_SECRET_KEY = '<your test secret key here>'
    STRIPE_CONNECT_CLIENT_ID = '<your test connect client id here>'
  5. Run the server:

    $ python manage.py runserver

About

stripe connect with django


Languages

Language:Python 75.9%Language:HTML 24.1%