Skip to main content

Simple FreeKassa payment client for Python

Project description

freekassa api client

Intallation

pip install freekassa-client

Usage

Generate link payment

client = FreeKassaClient(
    merchant_id=123456789,
    secret_word_1='secret1',
    secret_word_2='secret2',
    api_key='api_key'
)
payment_link = client.ui_create_order(
    amount=Decimal(1000), currency='USD', payment_id='payment_id'
)

Check payment

# yours view.py
def some_view(request, *args, **kwargs):
    ...
    verified = client.verify_notify(amount, order_id, sign)
    ...

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

freekassa_client-0.1.5.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

freekassa_client-0.1.5-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file freekassa_client-0.1.5.tar.gz.

File metadata

  • Download URL: freekassa_client-0.1.5.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for freekassa_client-0.1.5.tar.gz
Algorithm Hash digest
SHA256 4a54e37579f8d0788397c1aabe5f6adebf82252f906527bae51bd609e8daba9f
MD5 df20ba2a9810b9062895f2b1c8f8d6c8
BLAKE2b-256 735c0174ce5637c167636e58604ea3776a36a85398c341990533c5b3995e7cf7

See more details on using hashes here.

File details

Details for the file freekassa_client-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for freekassa_client-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7d54802ec28a4bf86709e5ee58b97cbe1ed0fc60914c15015ddf84ebea3ea727
MD5 21e611a4e92a320e62cafb08bea542e7
BLAKE2b-256 98cad8c19bd7871689be9786260c441274d8c0ba164fcf3ac30828ef5d46a3dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page