Unofficial Python SDK for Paymob payment gateway (Unified Checkout, Intention, Iframe)
Project description
PayMobZ
Unofficial Python SDK for the Paymob payment gateway.
🚀 Installation
pip install paymobz
⚡ Quick Start
from paymobz import Paymob
paymob = Paymob(
api_key="YOUR_API_KEY",
secret_key="YOUR_SECRET_KEY",
public_key="YOUR_PUBLIC_KEY"
)
res = paymob.unified_checkout.create({
"amount": 2000,
"currency": "EGP",
"payment_methods": [YOUR_INTEGRATION_ID],
"billing_data": {
"first_name": "Test",
"last_name": "User",
"email": "test@test.com",
"phone_number": "+201000000000",
"city": "Cairo",
"country": "EG"
}
})
print(res.intention_url)
💳 Supported Features
- Unified Checkout
- Intention API
- Iframe Integration
- Webhook Handling
🧠 Notes
- Amount is in cents (e.g. 2000 = 20 EGP)
- Uses Paymob hosted checkout (secure)
- No card data is handled by this SDK
⚠️ Disclaimer
This is an unofficial SDK and is not affiliated with Paymob.
📌 Status
Early release (v0.1.0)
More improvements, documentation, and features coming soon.
Author
Ahmed Saoud
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
paymobz-0.1.3.tar.gz
(8.4 kB
view details)
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
paymobz-0.1.3-py3-none-any.whl
(12.4 kB
view details)
File details
Details for the file paymobz-0.1.3.tar.gz.
File metadata
- Download URL: paymobz-0.1.3.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05e6f2bf1d3d0b65b3b7f43acc3c5bea622d7b48ad5c69c63469f9b77459c427
|
|
| MD5 |
7fca22d91f0c94d567d117c2db40deef
|
|
| BLAKE2b-256 |
9cabfca98b15015b0a38a3e5686b76c0a475950936b7a0f9db83ea8fa496fae6
|
File details
Details for the file paymobz-0.1.3-py3-none-any.whl.
File metadata
- Download URL: paymobz-0.1.3-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33a03a28eeea203569733509efe25414fa484536ec15cb1e1526539c63b7368c
|
|
| MD5 |
56281b17300d8408827a9b2bafdfd433
|
|
| BLAKE2b-256 |
8ad663963c9aeb7ba3c9ab2dde087618fec38b792f27e18d140777ef8a82d8dd
|