Skip to main content

Vakıfbank Payment Gateway Python Package

Project description

Vakıfbank Python Package


pip install vakifbank


First import module from vakifbank package.

from vakifbank.ThreeD_Payment import ThreeDPayment

Prepare your credentials. You can get your store password and id from

credentials = { 
    'HostMerchantId': YourHostMerchantId,
    'HostPassword' : YourHostPassword,
    'HostTerminalId': YourHostTerminalId 

Then initialize 3D payment class with credentials.

three_d = ThreeDPayment(credentials)

Prepare your data in your website form

data = {
    "order_id": random.randrange(1000),
    "amount": "1.00",
    "expiry": EXPIRYDATE,
    "currency": currency,
    "success_url": YOUR_SUCCESS_URL,
    "fail_url": YOUR_FAIL_URL

Prepare request data


Get Enrollment Result


Get Your Prepared Html Page


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vakifbank, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size vakifbank-0.1.3-py3-none-any.whl (15.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size vakifbank-0.1.3.tar.gz (10.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page