Metadata-Version: 2.1
Name: django-globee
Version: 1.5.0
Summary: A Django app for integrating Globee Payments
Home-page: https://github.com/lovvskillz/django-globee
Author: Vadim Zifra
Author-email: vadim@minehub.de
License: MIT License
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.0
Classifier: Framework :: Django :: 2.1
Classifier: Framework :: Django :: 2.2
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Description-Content-Type: text/markdown
Requires-Dist: Django (>=2.0)
Requires-Dist: six (>=1.4.1)
Requires-Dist: requests (>=2.19.1)
Requires-Dist: pytz (>=2018.5)

# django-globee

[![GitHub license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://raw.githubusercontent.com/lovvskillz/django-globee/master/LICENSE)
[![PyPI version](https://badge.fury.io/py/django-globee.svg)](https://badge.fury.io/py/django-globee)
[![Build Status](https://travis-ci.org/lovvskillz/django-globee.svg?branch=master)](https://travis-ci.org/lovvskillz/django-globee)
[![Coverage Status](https://coveralls.io/repos/github/lovvskillz/django-globee/badge.svg?branch=master)](https://coveralls.io/github/lovvskillz/django-globee?branch=master)
[![Downloads](https://pepy.tech/badge/django-globee)](https://pepy.tech/project/django-globee)

django-globee is a Django app to integrate [GloBee](https://globee.com/) Payments.

You can find the GloBee API docs [here](https://globee.com/docs/payment-api/v1).

## Quick start

1. Add `globee` to your INSTALLED_APPS setting like this:
```python
    INSTALLED_APPS = [
        ...
        'globee',
    ]
```
2. Include the globee URLconf in your project urls.py like this:
```python
    path('globee/', include('globee.urls')),
```

3. Include your globee key and test or live env in your project settings.py
```python
    GLOBEE_AUTH_KEY = "YOUR GLOBEE X-AUTH-KEY"
    GLOBEE_TESTNET = True # set this to False in production mode

    # False: IPN view will respond with status code "400" if an "KeyError", "ValueError" or "ValidationError" occurs
    # True: IPN view will always respond with status code "200"
    GLOBEE_PARANOID_MODE = False # optional (default: False)

    # False: saves the IPN response in the database without further verify checks. see docs on how to verify the payment yourself.
    # True: fetches the payment information directly from GloBee after the IPN view was called
    GLOBEE_AUTO_VERIFY = False # optional (default: False)
```


4. Run `python manage.py migrate` to create the globee models.


## examples

see [Docs](docs/README.md)


