Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amitu/dpp
Django PayPal Helper
https://github.com/amitu/dpp
Last synced: 1 day ago
JSON representation
Django PayPal Helper
- Host: GitHub
- URL: https://github.com/amitu/dpp
- Owner: amitu
- Created: 2009-03-14T00:45:08.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2009-03-14T00:55:42.000Z (over 15 years ago)
- Last Synced: 2024-04-17T02:59:21.509Z (7 months ago)
- Language: Python
- Homepage:
- Size: 78.1 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Django PayPal Helper
====================This application wraps PayPal API, using `django-paypal`_, and provides easy
access to do one time transfer of money. Its primary purpose is to sell
software etc.Installation:
* Install `django-paypal`_ and configure your project accordingly
* Put dpp folder somewhere in PYTHONPATH
* Add dpp to settings.py under INSTALLED_APPS
* (r'^dpp/', include('dpp.urls')), into urls.py
* python manage.py syncdbUsage:
* Point user to
/dpp/start/?next=YourURL&amount=20&message=ToBeShownOnPayPalSiteIt will redirect user to paypal site, and will confirm that payment has been
made. Then it will redirect users to YourURL. It stores an instance of
dpp.models.PaymentRequest in request.session["payment_request"]. Status of
payment can be obtained from PaymentRequest object.Enjoy!
.. _`django-paypal`: http://github.com/johnboxall/django-paypal/tree/master