Skip to main content

This package will help to receive bKash Webhook payment payload

Project description

bKash Webhook (Merchant Account)

PyPI version Coverage GitHub version

Introduction

This package will help to receive Webhook notification from bKash end and the user can use this package of any kind of Python Web Frameworks.

Note: Using area - Only Bangladesh

If bKash complains about this package.Such as Logo and others. The author will remove the package from PyPi and Github.

Coverage

Quickstart

Installation

Install from pypi:

pip install bKashWebhook

Security

bKashWebhook package does not provide any kind of security. But payload content security handle by bKash
N.B. You need to secure your API endpoint yourself.

Example

import json
from bkash_webhook import BkashWebhookListener
bkash = BkashWebhookListener(json.loads("bKash Webhook Payload"))
res = bkash.bkash_response_process()
print(res)
# You will get bKash Payload if everything is okay. 

To learn more Documentation.

Changelog

See Changelog

Trade off

  • Currently, Coverage result is 98%. Two test cases don't cover and those test cases are not possible to cover. These test cases do not impact to core response. So don't worry. ValidationError Exception would manage that type error.

License

MIT

Changelog

All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog. This project adheres to Semantic Versioning.

v0.0.2 - 2020-05-30

  • Added PyPI badge
  • Added documentation link into setup.py

V0.1.0 - 2020-06-01

  • BKash class is deprecated
  • Added a new class. That's called BkashWebhookListener. BKash class will completely removed from v1.0.0
  • Update README and documents

v0.1.1 - 2020-06-01

  • Refactor code docs

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

bKashWebhook-0.1.1.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

bKashWebhook-0.1.1-py3-none-any.whl (10.4 kB view hashes)

Uploaded 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