{"id":19375060,"url":"https://github.com/monim67/sslcommerz-sdk","last_synced_at":"2026-03-08T11:35:52.625Z","repository":{"id":57470897,"uuid":"290835237","full_name":"monim67/sslcommerz-sdk","owner":"monim67","description":"Python SDK for SSLCOMMERZ configurable with Sqlalchemy, PynamoDB or Django ORM.","archived":false,"fork":false,"pushed_at":"2023-12-10T05:22:39.000Z","size":121,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T15:26:31.001Z","etag":null,"topics":["django","dynamodb","pynamodb","sqlalchemy","sslcommerz"],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/sslcommerz-sdk","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monim67.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-27T17:09:00.000Z","updated_at":"2025-06-14T11:13:32.000Z","dependencies_parsed_at":"2024-11-10T08:37:12.840Z","dependency_job_id":"21bb5752-184d-4b48-85ba-b4ae198e53ee","html_url":"https://github.com/monim67/sslcommerz-sdk","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"7ed1b1da8d90dcd473362f3e94bd33ac1e72f29a"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/monim67/sslcommerz-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monim67%2Fsslcommerz-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monim67%2Fsslcommerz-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monim67%2Fsslcommerz-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monim67%2Fsslcommerz-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monim67","download_url":"https://codeload.github.com/monim67/sslcommerz-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monim67%2Fsslcommerz-sdk/sbom","scorecard":{"id":658531,"data":{"date":"2025-08-11","repo":{"name":"github.com/monim67/sslcommerz-sdk","commit":"d7bef0103f0fdbecbed100d2d7a53efd7149daaa"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/15 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/monim67/sslcommerz-sdk/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/monim67/sslcommerz-sdk/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/monim67/sslcommerz-sdk/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/monim67/sslcommerz-sdk/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/monim67/sslcommerz-sdk/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/monim67/sslcommerz-sdk/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/monim67/sslcommerz-sdk/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/monim67/sslcommerz-sdk/deploy.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/monim67/sslcommerz-sdk/deploy.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docs.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/monim67/sslcommerz-sdk/docs.yml/master?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/deploy.yml:1","Warn: no topLevel permission defined: .github/workflows/docs.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"51 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: GHSA-3ww4-gg4f-jr7f","Warn: Project is vulnerable to: GHSA-5cpq-8wj7-hf2v","Warn: Project is vulnerable to: PYSEC-2024-225 / GHSA-6vqw-3v5j-54x4","Warn: Project is vulnerable to: GHSA-9v9h-cgj8-h64p","Warn: Project is vulnerable to: GHSA-h4gh-qq45-vh27","Warn: Project is vulnerable to: PYSEC-2023-254 / GHSA-jfhm-5ghh-2f97","Warn: Project is vulnerable to: GHSA-jm77-qphf-c4w8","Warn: Project is vulnerable to: GHSA-v8gr-m533-ghj9","Warn: Project is vulnerable to: GHSA-w7pp-m8wf-vj6r","Warn: Project is vulnerable to: GHSA-x4qr-2fvf-3mr5","Warn: Project is vulnerable to: PYSEC-2023-13 / GHSA-2hrw-hx67-34x6","Warn: Project is vulnerable to: PYSEC-2023-225 / GHSA-7h4p-27mh-hmrw","Warn: Project is vulnerable to: GHSA-7xr5-9hcq-chf9","Warn: Project is vulnerable to: PYSEC-2023-226 / GHSA-h8gc-pgj2-vjm3","Warn: Project is vulnerable to: PYSEC-2023-100 / GHSA-jh3w-4vvf-mjgr","Warn: Project is vulnerable to: PYSEC-2023-12 / GHSA-q2jf-h9jm-m7p4","Warn: Project is vulnerable to: PYSEC-2023-222 / GHSA-qmf9-6jqf-j8fq","Warn: Project is vulnerable to: PYSEC-2023-61 / GHSA-r3xc-prgr-mg9p","Warn: Project is vulnerable to: GHSA-rrqc-c2jx-6jgv","Warn: Project is vulnerable to: PYSEC-2024-47 / GHSA-vm8q-m57g-pff3","Warn: Project is vulnerable to: PYSEC-2024-28 / GHSA-xxj9-f6rv-m3x4","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: GHSA-mr82-8j83-vxmv","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: GHSA-2m57-hf25-phgg","Warn: Project is vulnerable to: PYSEC-2023-87 / GHSA-rrm6-wvj7-cwh2","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2024-187 / GHSA-rqc4-2hc7-8c8v","Warn: Project is vulnerable to: GHSA-2g68-c3qc-8985","Warn: Project is vulnerable to: GHSA-f9vj-2wh5-fj8j","Warn: Project is vulnerable to: PYSEC-2023-221 / GHSA-hrfv-mqp8-q5rw","Warn: Project is vulnerable to: PYSEC-2023-57 / GHSA-px8h-6qxv-m22q","Warn: Project is vulnerable to: GHSA-q34m-jh98-gwm2","Warn: Project is vulnerable to: PYSEC-2023-58 / GHSA-xg9f-g7g7-2323","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T15:23:15.811Z","repository_id":57470897,"created_at":"2025-08-21T15:23:15.811Z","updated_at":"2025-08-21T15:23:15.811Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30254588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T08:59:44.879Z","status":"ssl_error","status_checked_at":"2026-03-08T08:58:02.867Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","dynamodb","pynamodb","sqlalchemy","sslcommerz"],"created_at":"2024-11-10T08:36:59.541Z","updated_at":"2026-03-08T11:35:52.611Z","avatar_url":"https://github.com/monim67.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"######\n|logo|\n######\n\n|  |build-status| |docs-status| |coverage|\n|  |pyversions| |pypi-version| |license|\n\n\nPython SDK for SSLCOMMERZ configurable with Sqlalchemy, PynamoDB or Django ORM.\n\n\n********************\nGetting Started\n********************\n\nInstall it via pip (python\u003e=3.0).\n\n.. code:: text\n\n    pip install sslcommerz-sdk\n\n\n********************\nHow to Use\n********************\n\nCreate the views below depending on framework you are using.\n\n.. code:: python\n\n    from sslcommerz_sdk.enums import TransactionStatus\n\n    # TODO: create payment_handler.py file\n    from .payment_handler import payment_handler, store\n\n\n    def payment_init_view():\n        # TODO: Freeze the cart, see what cart freezing is\n        session, created = payment_handler.get_or_create_session(\n            store=store,\n            tran_id=\"test\",\n            currency=\"BDT\",\n            total_amount=100,\n            cus_name=\"test\",\n            cus_email=\"test@test.com\",\n            cus_add1=\"test\",\n            cus_city=\"test\",\n            cus_postcode=\"1234\",\n            cus_country=\"test\",\n            cus_phone=\"123456\",\n            success_url=\"\u003cURL to redirect cutomer when transaction is successful\u003e\",\n            fail_url=\"\u003cURL to redirect cutomer when transaction is failed\u003e\",\n            cancel_url=\"\u003cURL to redirect cutomer when transaction is cancelled\u003e\",\n            ipn_url=\"\u003cURL of ipn_view\u003e\",\n        )\n        # TODO: Redirect customer to session.redirect_url\n\n\n    def ipn_view():\n        # TODO: Make this URL public, i.e accessible without logging in\n        # TODO: Disable CSRF protection for this view\n        # TODO: post_dict = {dict of request POST values}\n        session, verified_right_now = payment_handler.verify_transaction(\n            payload=post_dict,\n        )\n        if verified_right_now:\n            if session.status == TransactionStatus.VALID:\n                print(f\"Tran ID: {session.tran_id} successful...\")\n                # TODO: Update order payment status in your database\n            else:\n                print(\"Transaction failed/cancelled!\")\n                # TODO: Unfreeze the cart sothat customer can modify/delete the cart\n\n\n********************\nNext Steps\n********************\n\n- Setup Payment Handler with any of the following ORM.\n    - `Django ORM \u003chttps://sslcommerz-sdk.readthedocs.io/en/latest/setup-payment-handler.html#django-orm\u003e`_.\n    - `Sqlalchemy \u003chttps://sslcommerz-sdk.readthedocs.io/en/latest/setup-payment-handler.html#sqlalchemy\u003e`_.\n    - `PynamoDB \u003chttps://sslcommerz-sdk.readthedocs.io/en/latest/setup-payment-handler.html#pynamodb\u003e`_.\n- `Setup Store \u003chttps://sslcommerz-sdk.readthedocs.io/en/latest/setup-store.html#setup-store\u003e`_.\n- `Configure Multiple Stores \u003chttps://sslcommerz-sdk.readthedocs.io/en/latest/setup-store.html#setup-multiple-store\u003e`_.\n- `Customize Store \u003chttps://sslcommerz-sdk.readthedocs.io/en/latest/setup-store.html#customize-store\u003e`_.\n- `Create Sandbox Account \u003chttps://developer.sslcommerz.com/registration/\u003e`_.\n- `Checkout SSLCOMMERZ api documentation \u003chttps://developer.sslcommerz.com/doc/v4/\u003e`_.\n- `Freeze shopping cart to avoid unexpected errors \u003chttps://sslcommerz-sdk.readthedocs.io/en/latest/best-practices.html#freeze-your-cart\u003e`_.\n\n\n********************\nContributing\n********************\n\nPR should pass the tests and lint commands, checkout the following to get started.\n\n- `CONTRIBUTING.md \u003chttps://github.com/monim67/sslcommerz-sdk/blob/master/.github/CONTRIBUTING.md\u003e`_.\n- `CODE_OF_CONDUCT.md \u003chttps://github.com/monim67/sslcommerz-sdk/blob/master/.github/CODE_OF_CONDUCT.md\u003e`_.\n\n\n********************\nLicense\n********************\n\nThis project is published under `MIT LICENSE \u003chttps://github.com/monim67/sslcommerz-sdk/blob/master/LICENSE\u003e`_.\n\n\n.. |logo| image:: https://raw.githubusercontent.com/monim67/sslcommerz-sdk/c339311f86d4d1943c0b173734323c3f0ef48a36/.github/assets/logo.png\n    :width: 400px\n    :height: 68px\n    :alt: sslcommerz-sdk\n\n.. |build-status| image:: https://github.com/monim67/sslcommerz-sdk/workflows/build/badge.svg?event=push\n    :target: https://github.com/monim67/sslcommerz-sdk/actions?query=build\n    :alt: Build Status\n    :height: 20px\n\n.. |docs-status| image:: https://readthedocs.org/projects/sslcommerz-sdk/badge/?version=latest\n    :target: https://sslcommerz-sdk.readthedocs.io/en/latest/?badge=latest\n    :alt: Docs Build Status\n    :height: 20px\n\n.. |coverage| image:: https://coveralls.io/repos/github/monim67/sslcommerz-sdk/badge.svg?branch=master\n    :target: https://coveralls.io/github/monim67/sslcommerz-sdk?branch=master\n    :alt: Coverage\n    :height: 20px\n\n.. |pyversions| image:: https://img.shields.io/pypi/pyversions/sslcommerz-sdk.svg\n    :target: https://pypi.python.org/pypi/sslcommerz-sdk\n    :alt: Python Versions\n    :height: 20px\n\n.. |pypi-version| image:: https://badge.fury.io/py/sslcommerz-sdk.svg\n    :target: https://pypi.python.org/pypi/sslcommerz-sdk\n    :alt: PyPI Version\n    :height: 20px\n\n.. |license| image:: https://img.shields.io/pypi/l/sslcommerz-sdk.svg\n    :target: https://github.com/monim67/sslcommerz-sdk/blob/master/LICENSE\n    :alt: MIT Licence\n    :height: 20px\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonim67%2Fsslcommerz-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonim67%2Fsslcommerz-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonim67%2Fsslcommerz-sdk/lists"}