Skip to main content

nestpay odeme sistemi ucun modul

from payment.nestpay import NestPay
from payment.utils import *
from django.http import HttpResponse
from django.views.decorators.csrf import csrf_exempt




def payment(request):
    ......
    temp = NestPay(
        clientId = '', # bank terefinden verilir
        amount = '', # mebleg : 1.00 azn
        oid = '', # order id unikdi
        okUrl = '', # callback url success den sonra bura post gonderilir
        failUrl = '', # error url 
        rnd = microtime(),
        storekey = '2', # bank terefinden verilir
        storetype = '', # bank terefinden verilir
        lang = 'en', # hansi dilde odeme sehvesine redirec edecek
        islemtipi = 'Auth', # default 
        hash = '', # hash edirik
        refreshtime = '5', # sehveler arasinda redirect timeout u
        instalment='', # taksid
        currency = '944', # Azerbaycan manatinin kodu
        post_url = 'https://entegrasyon.asseco-see.com.tr/fim/est3Dgate' # odeme sehivesi
        )
    data = temp.bank_data()
    return HttpResponse(data)

# callback yuxarda paymentde qeyd edeceyimiz okUrl di ve o url e bank post gonderir
@csrf_exempt
def callback(request):
    ........
    if request.method == 'POST':
        data = request.POST
        data['storekey'] = '' #bank terefinden verilir
        result = Nestpay.data_result(**data)
        return HttpResponse(result)
    else:
        return HttpResponse("Not found")

Metadata

Release files for nestpay 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nestpay 0.0.3
File Size Uploaded Provenance Actions
nestpay-0.0.3.tar.gz 3.6 kB Without provenance Details for nestpay-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nestpay 0.0.3
File Interpreter ABI Platform Actions
nestpay-0.0.3-py2.py3-none-any.whl Python 2, Python 3 none any Details for nestpay-0.0.3-py2.py3-none-any.whl

Total release size: 7.2 kB

Release files / nestpay-0.0.3.tar.gz

Download URL nestpay-0.0.3.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c649647262c4b1278d5a0fd829ad8f60ad6822c2c9eebfc8f96fa9211cf79a46
BLAKE2b-256 checksum
How to use checksums
5c52c7c9878fd923c27e944dd114deddf51610e83049ba57a9f434a8cca04214
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3

Release files / nestpay-0.0.3-py2.py3-none-any.whl

Download URL nestpay-0.0.3-py2.py3-none-any.whl
Size 3.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1a65b9e62a622ee01a028c54969053510ee94a1bc130e429fcc0c93670566a77
BLAKE2b-256 checksum
How to use checksums
13b55329ed42fdcd0bef92e5f303870d624df133d62a8fd6a29d1d0b2cfa8440
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3

Security for nestpay 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page