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.3.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.3-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: freekassa_client-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d6e79cb6166ae0fd1ca9a67e64af338b40c9021d819b70846fa076ebd90b0379
MD5 0077cfd3bba2b70b8d1ae14ceba25f69
BLAKE2b-256 d882183d595adc8324014c04462632b567f235708e0a042ce02848ea1de6ed44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freekassa_client-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ba63b3d3a4ed118daed6afbf708cc3dfc0b44f453a3e1d529e995960c5101508
MD5 8ba7c2a8f3e2645ab09223c826aee38f
BLAKE2b-256 8200a0cf26e4e81f2d63a9ecc1f0b8a873d62952857ba30b276f30236bc84cad

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