Buysafe
=====
Buysafe bundles SunTech BuySafe (TM) posting and receiving routines into Django forms and views, and provides an admin view for payment method management.
Dependency
-----------
If you want to use the default product info handler, you need to use Cartridge as your ecommerce backend. If you provide your own info handler, all you need is Django.
Quick start
-----------
1. Add :code:`buysafe` to your :code:`INSTALLED_APPS` setting:
::
INSTALLED_APPS = (
...
'buysafe',
...
)
2. If you don't use Cartridge, add :code:`BUYSAFE_FORM_VALUES_GENERATOR` in your settings to specify a custom handler. The handler should accept :code:`**kwargs`, which contains values in the :code:`request.POST` dictionary.
3. Run :code:`python manage.py migrate buysafe`.
4. Go to your admin and add some payment methods.
5. To pay for an order, use POST to submit a form to view:code:`buysafe_start` with the values to pass to the product info handler. The default handler needs an :code:`order_id` field. This brings up a view to initiate the payment process.
6. Profit!
Metadata
Release files for django-buysafe 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-buysafe-0.2.tar.gz | 9.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_buysafe-0.2-py27-none-any.whl | Python 2.7 | none | any | Details |
Total release size: 23.8 kB
Release files / django-buysafe-0.2.tar.gz
| Download URL | django-buysafe-0.2.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7199d235cd6f4659e1d675df229d8d35ca7d52947a25cdf6430ae6c617ef7c1
|
|
BLAKE2b-256 checksum How to use checksums |
ebc5603224296f7da494803dc1831c5edf2418d7bc3170f92b490f97762600a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_buysafe-0.2-py27-none-any.whl
| Download URL | django_buysafe-0.2-py27-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 2.7 |
|
SHA-256 checksum How to use checksums |
83fb55740974916bf77b3362f4558876fe4bd53010c58c0a94fb8ee662ccb56f
|
|
BLAKE2b-256 checksum How to use checksums |
50fe10ae8c31eeec037ae320af8c39df17585fe5044aec24e2c2079bc4b76cae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-buysafe 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.