Sandbox integration with payment server
Перейти к файлу
Kumar McMillan e571776af3 JWT compliant implementation of iat/exp 2012-03-22 23:06:53 -05:00
paymentserver JWT compliant implementation of iat/exp 2012-03-22 23:06:53 -05:00
.gitignore Add local settings for overrides 2012-01-25 16:33:08 -06:00
DESIGN.md clarified call as mozmarket.buy() 2012-03-21 09:23:20 -05:00
README.md Add local settings for overrides 2012-01-25 16:33:08 -06:00
requirements.txt Example of app signing a payment request using JWT 2011-11-10 15:47:23 -06:00

README.md

This is an experimental integration with PayPal's Digital Goods payment service.

Using Python 2.6+ and a virtualenv, install like this:

pip install -r requirements.txt

To get things set up, run:

python paymentserver/manage.py syncdb
python paymentserver/manage.py runserver 0.0.0.0:8380

To make the paypal redirects work you must currently run everything from:

http://localhost:8380/

To override settings copy the local settings file:

cp paymentserver/settings_local-dist.py paymentserver/settings_local.py

And start up the server with that file:

python paymentserver/manage.py runserver --settings=paymentserver.settings_local 0.0.0.0:8380