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.
Install from pypi:
pip install bKashWebhook
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.
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.
See Changelog
- 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.
MIT