This app was formerly called django-stripe-payments
and has been renamed to
avoid namespace collisions and to have more consistency with Pinax.
Pinax is an open-source platform built on the Django Web Framework. It is an ecosystem of reusable Django apps, themes, and starter project templates. This collection can be found at http://pinaxproject.com.
This app was developed as part of the Pinax ecosystem but is just a Django app and can be used independently of other Pinax apps.
pinax-stripe
is a payments Django app for Stripe.
This app allows you to process one off charges as well as signup users for recurring subscriptions managed by Stripe.
To bootstrap your project, we recommend you start with: https://pinax-stripe.readthedocs.org/en/latest/user-guide/getting-started/
pinax-stripe
supports a variety of Python and Django versions. It's best if you test each one of these before committing. Our Travis CI Integration will test these when you push but knowing before you commit prevents from having to do a lot of extra commits to get the build to pass.
In order to easily test on all these Pythons and run the exact same thing that Travis CI will execute you'll want to setup pyenv and install the Python versions outlined in tox.ini.
If you are on the Mac, it's recommended you use brew. After installing brew
run:
$ brew install pyenv pyenv-virtualenv pyenv-virtualenvwrapper
Then:
$ CFLAGS="-I$(xcrun --show-sdk-path)/usr/include -I$(brew --prefix openssl)/include" \
LDFLAGS="-L$(brew --prefix openssl)/lib" \
pyenv install 2.7.10 3.2.6 3.3.6 3.4.3 3.5.0
$ pyenv virtualenv 2.7.10 test-2.7.10
$ pyenv virtualenv 3.2.6 test-3.2.6
$ pyenv virtualenv 3.3.6 test-3.3.6
$ pyenv virtualenv 3.4.3 test-3.4.3
$ pyenv virtualenv 3.5.0 test-3.5.0
$ pyenv global 2.7.10 test-2.7.10 test-3.2.6 test-3.2.6 test-3.3.6 test-3.4.3 test-3.5.0
$ pip install detox
To run test suite:
Make sure you are not inside a virtualenv
and then:
$ detox
This will execute the testing matrix in parallel as defined in the tox.ini
.
The pinax-stripe documentation is available at http://pinax-stripe.readthedocs.org/en/latest/. The Pinax documentation is available at http://pinaxproject.com/pinax/.
In order to foster a kind, inclusive, and harassment-free community, the Pinax Project has a code of conduct, which can be found here http://pinaxproject.com/pinax/code_of_conduct/.
For updates and news regarding the Pinax Project, please follow us on Twitter at @pinaxproject and check out our blog http://blog.pinaxproject.com.