This library is a Django app for handling payments with a few different payment providers.

It includes support for a few different payment providers using a unified API.

General design

A single abstract model is included: payments.models.BasePayment. Applications using this library need to subclass it and implement a few specific method. It is also possible to domain-specific fields that the may be required (e.g.: foreign keys to a purchase, or user).