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.2.tar.gz (6.7 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.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: freekassa_client-0.1.2.tar.gz
  • Upload date:
  • Size: 6.7 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.2.tar.gz
Algorithm Hash digest
SHA256 697f8fec17825e614c8f6763aa1395ad7eace7f60cc2b42ec503e01f31d6dc22
MD5 bd9be84db59e72e615a49a92d2c32408
BLAKE2b-256 b21144152b4d688f7e2c97ac12b49f7ca50c6567acddb5f66d6a3248dfc097e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freekassa_client-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2a4983c2a0a37021e6509d5fee0c7bf97e229d46d21d94b723b280f25b1d0e45
MD5 1fc56dd2a2b6f4652c440d77651149a2
BLAKE2b-256 50423f5b28e37eb433e194491a502043cf6cbde635bd822259f690edd5500a17

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