django-stripe-connect
django-stripe-connect copied to clipboard
stripe connect with django
Setting up Stripe Connect with Django
Want to learn how to build this?
Check out the post.
Want to use this project?
-
Fork/Clone
-
Create a virtual environment and install the dependencies:
$ pipenv shell $ pipenv install -
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 -
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>' -
Run the server:
$ python manage.py runserver