Vakıfbank Payment Gateway Python Package
Project description
Vakıfbank Python Package
Install
pip install vakifbank
Usage
First import module from vakifbank package.
from vakifbank.ThreeD_Payment import ThreeDPayment
Prepare your credentials. You can get your store password and id from https://onlineodeme.vakifbank.com.tr/AdminUI/Account/Login?ReturnUrl=%2fadminui
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",
"pan": CREDITCARDNUMBER,
"expiry": EXPIRYDATE,
"currency": currency,
"success_url": YOUR_SUCCESS_URL,
"fail_url": YOUR_FAIL_URL
}
Prepare request data
three_d.prepare(data)
Get Enrollment Result
three_d.enrollment_result()
Get Your Prepared Html Page
threed_d.get_acs_html()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vakifbank-0.1.3.tar.gz.
File metadata
- Download URL: vakifbank-0.1.3.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7178fc3e20ace6c8d23d3823e4e5fd541bed4c176f4053e14d28cd079d9386a
|
|
| MD5 |
70adc2d87cd4e787e80be6ef59e93511
|
|
| BLAKE2b-256 |
8afb40ee5c725f23b9c0c604d613b9e5287158092029a49004aefa6cacee664c
|
File details
Details for the file vakifbank-0.1.3-py3-none-any.whl.
File metadata
- Download URL: vakifbank-0.1.3-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
050f9bc621a2938512d36f5284a929373ea03cb8ebe984b8997c26978d3dd8b9
|
|
| MD5 |
ffc5746587cb66f51490e481e9c129ff
|
|
| BLAKE2b-256 |
193946482968402670ba494681d7f56e9a3aff5d40d51c2fdb7f5fd2e76f1a0d
|