Skip to content

vubon/bkash-webhook

Repository files navigation

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