Skip to main content

Cash on Delivery Provider for django-payments

Project description

# django-payments-cod

Cash on Delivery (COD) Provider for [django_payments](https://django-payments.readthedocs.org/)


Installation
========================

```
pip install django-payments-cod
```

OR

```
pip install https://github.com/xtranophilist/django-payments-cod/archive/master.zip
```


Usage
==============

In your Django project settings:

```
INSTALLED_APPS = [
...
'django_payments_cod',
]
```


```
PAYMENT_VARIANTS = {
'default': ('django_payments_cod.CODProvider', {})}
```


```
CHECKOUT_PAYMENT_CHOICES = [
('default', 'Cash On Delivery')
]
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-payments-cod-0.1.1.tar.gz (1.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page