Skip to main content

A Sane SSLCommerz Client for Python.

Project description

A Sane SSLCommerz Client for Python.

  • Free software: MIT license

Warning

Under development. Is not usable. At all.

Why?

There are at least 5 sdk/library/client for SSLCommerz in PyPI right now including an official one. However, we wanted to create an API client that will take care of a major part of validation (thanks to pydantic), will feel intuitive, and allow you to access and inspect data in ease.

Features

  • Pydantic powered dataclasses for every request (in request one can also use dict that will be converted to a dataclass) and response.

  • IPN validation.

  • Methods for all official endpoints.

Installation

pip install sslcommerz-client

You can also install the in-development version with:

pip install https://gitlab.com/codesigntheory/python-sslcommerz-client/-/archive/master/python-sslcommerz-client-master.zip

Documentation

https://python-sslcommerz-client.readthedocs.io/

Development

To run all the tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.3.4 (2021-05-08)

  • Removed CardBrandEnum

0.3.4 (2021-05-08)

  • Fixed Card Brand Enum

0.3.2 (2021-04-19)

  • Added more test.

  • Fixed some bugs.

0.3.1 (2021-04-19)

  • Added more test.

  • Fixed some bugs.

  • Fully working IPN validation, order query.

0.2.1 (2021-04-18)

  • Added None in card brand

  • Fixed some bugs.

0.2.0 (2021-04-18)

  • Added a test.

  • Fixed some bugs.

0.1.0 (2021-04-18)

  • Added all API methods.

  • Updated Docs.

0.0.2 (2021-04-16)

  • Removed a Classifier

0.0.1 (2021-04-16)

  • DataClasses for PaymentInit and APN request and responses.

  • Functional Client only with session initiation.

0.0.0 (2021-04-16)

  • First release on PyPI.

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

sslcommerz-client-0.3.5.tar.gz (9.3 MB view hashes)

Uploaded Source

Built Distribution

sslcommerz_client-0.3.5-py2.py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 2 Python 3

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