payme-pkg 3.0.9__tar.gz → 3.0.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of payme-pkg might be problematic. Click here for more details.
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/PKG-INFO +13 -7
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/README.md +12 -6
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/classes/http.py +2 -1
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/exceptions/general.py +10 -1
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/models.py +0 -1
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme_pkg.egg-info/PKG-INFO +13 -7
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/setup.py +1 -1
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/LICENSE.txt +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/__init__.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/admin.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/apps.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/classes/__init__.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/classes/cards.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/classes/client.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/classes/initializer.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/classes/receipts.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/const.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/exceptions/__init__.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/exceptions/webhook.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/migrations/__init__.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/types/__init__.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/types/request/__init__.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/types/response/__init__.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/types/response/cards.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/types/response/receipts.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/types/response/webhook.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/urls.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/util.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme/views.py +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme_pkg.egg-info/SOURCES.txt +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme_pkg.egg-info/dependency_links.txt +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme_pkg.egg-info/requires.txt +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/payme_pkg.egg-info/top_level.txt +0 -0
- {payme_pkg-3.0.9 → payme_pkg-3.0.11}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: payme-pkg
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.11
|
|
4
4
|
Home-page: https://github.com/Muhammadali-Akbarov/payme-pkg
|
|
5
5
|
Author: Muhammadali Akbarov
|
|
6
6
|
Author-email: muhammadali17abc@gmail.com
|
|
@@ -14,7 +14,6 @@ Requires-Dist: djangorestframework==3.*
|
|
|
14
14
|
|
|
15
15
|
<h1 align="center">Payme PKG</h1>
|
|
16
16
|
|
|
17
|
-
|
|
18
17
|
<p align="center">
|
|
19
18
|
<a href="https://docs.pay-tech.uz"><img src="https://img.shields.io/static/v1?message=Documented%20on%20GitBook&logo=gitbook&logoColor=ffffff&label=%20&labelColor=5c5c5c&color=3F89A1"></a>
|
|
20
19
|
<a href="https://github.com/PayTechUz/payme-pkg"><img src="https://img.shields.io/badge/Open_Source-❤️-FDA599?"/></a>
|
|
@@ -22,15 +21,22 @@ Requires-Dist: djangorestframework==3.*
|
|
|
22
21
|
<a href="https://github.com/PayTechUz/payme-pkg/issues"><img src="https://img.shields.io/github/issues/gitbookIO/gitbook"/></a>
|
|
23
22
|
</p>
|
|
24
23
|
|
|
25
|
-
<p align="center">Welcome to payme-pkg, the open source payme
|
|
24
|
+
<p align="center">Welcome to payme-pkg, the open source payme SDK for Python.</p>
|
|
25
|
+
|
|
26
|
+
<p align="center">You can use it for test and production mode. Join our community and ask everything you need.</p>
|
|
26
27
|
|
|
27
|
-
<p align="center">You can use for test and production mode. Join our community and ask everything you need.
|
|
28
|
-
</p>
|
|
29
28
|
<a href="https://docs.pay-tech.uz">
|
|
30
|
-
<p align="center">Visit
|
|
29
|
+
<p align="center">Visit the full documentation for Merchant and Subscribe API</p>
|
|
31
30
|
</a>
|
|
31
|
+
|
|
32
|
+
<a href="https://youtu.be/xxiIggu_RNk?si=Idpg8omFvFDCYtcm" target="_blank">
|
|
33
|
+
<p align="center">
|
|
34
|
+
<img style="width: 60%;" src="https://i.postimg.cc/WbD32bHC/payme-pkg-demo-m4a.gif" alt="Payme PKG Demo">
|
|
35
|
+
</p>
|
|
36
|
+
</a>
|
|
37
|
+
|
|
32
38
|
<p align="center">
|
|
33
|
-
|
|
39
|
+
<a href="https://youtu.be/xxiIggu_RNk?si=Idpg8omFvFDCYtcm" target="_blank">Watch the YouTube Demo</a>
|
|
34
40
|
</p>
|
|
35
41
|
|
|
36
42
|
## Installation
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<h1 align="center">Payme PKG</h1>
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
<p align="center">
|
|
5
4
|
<a href="https://docs.pay-tech.uz"><img src="https://img.shields.io/static/v1?message=Documented%20on%20GitBook&logo=gitbook&logoColor=ffffff&label=%20&labelColor=5c5c5c&color=3F89A1"></a>
|
|
6
5
|
<a href="https://github.com/PayTechUz/payme-pkg"><img src="https://img.shields.io/badge/Open_Source-❤️-FDA599?"/></a>
|
|
@@ -8,15 +7,22 @@
|
|
|
8
7
|
<a href="https://github.com/PayTechUz/payme-pkg/issues"><img src="https://img.shields.io/github/issues/gitbookIO/gitbook"/></a>
|
|
9
8
|
</p>
|
|
10
9
|
|
|
11
|
-
<p align="center">Welcome to payme-pkg, the open source payme
|
|
10
|
+
<p align="center">Welcome to payme-pkg, the open source payme SDK for Python.</p>
|
|
11
|
+
|
|
12
|
+
<p align="center">You can use it for test and production mode. Join our community and ask everything you need.</p>
|
|
12
13
|
|
|
13
|
-
<p align="center">You can use for test and production mode. Join our community and ask everything you need.
|
|
14
|
-
</p>
|
|
15
14
|
<a href="https://docs.pay-tech.uz">
|
|
16
|
-
<p align="center">Visit
|
|
15
|
+
<p align="center">Visit the full documentation for Merchant and Subscribe API</p>
|
|
17
16
|
</a>
|
|
17
|
+
|
|
18
|
+
<a href="https://youtu.be/xxiIggu_RNk?si=Idpg8omFvFDCYtcm" target="_blank">
|
|
19
|
+
<p align="center">
|
|
20
|
+
<img style="width: 60%;" src="https://i.postimg.cc/WbD32bHC/payme-pkg-demo-m4a.gif" alt="Payme PKG Demo">
|
|
21
|
+
</p>
|
|
22
|
+
</a>
|
|
23
|
+
|
|
18
24
|
<p align="center">
|
|
19
|
-
|
|
25
|
+
<a href="https://youtu.be/xxiIggu_RNk?si=Idpg8omFvFDCYtcm" target="_blank">Watch the YouTube Demo</a>
|
|
20
26
|
</p>
|
|
21
27
|
|
|
22
28
|
## Installation
|
|
@@ -103,4 +103,5 @@ class HttpClient:
|
|
|
103
103
|
error_data = error.get("data", "")
|
|
104
104
|
|
|
105
105
|
exception_class = exc.errors_map.get(error_code, exc.BaseError)
|
|
106
|
-
|
|
106
|
+
exception_class.message = error_message
|
|
107
|
+
raise exception_class(data=error_data)
|
|
@@ -74,6 +74,14 @@ class InvalidParamsError(CardError):
|
|
|
74
74
|
super().__init__(-32602, self.message, data)
|
|
75
75
|
|
|
76
76
|
|
|
77
|
+
class InvalidTokenFormat(CardError):
|
|
78
|
+
"""Invalid token format during card operation."""
|
|
79
|
+
message = "Invalid token format."
|
|
80
|
+
|
|
81
|
+
def __init__(self, data=None):
|
|
82
|
+
super().__init__(-32500, self.message, data)
|
|
83
|
+
|
|
84
|
+
|
|
77
85
|
class AccessDeniedError(CardError):
|
|
78
86
|
"""Access denied for the card operation."""
|
|
79
87
|
message = "Access denied."
|
|
@@ -246,5 +254,6 @@ errors_map = {
|
|
|
246
254
|
-31101: OtpExpiredError,
|
|
247
255
|
-31102: OtpAttemptsExceededError,
|
|
248
256
|
-31103: OtpInvalidCodeError,
|
|
249
|
-
-31602: ReceiptsNotFoundError
|
|
257
|
+
-31602: ReceiptsNotFoundError,
|
|
258
|
+
-32500: InvalidTokenFormat
|
|
250
259
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: payme-pkg
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.11
|
|
4
4
|
Home-page: https://github.com/Muhammadali-Akbarov/payme-pkg
|
|
5
5
|
Author: Muhammadali Akbarov
|
|
6
6
|
Author-email: muhammadali17abc@gmail.com
|
|
@@ -14,7 +14,6 @@ Requires-Dist: djangorestframework==3.*
|
|
|
14
14
|
|
|
15
15
|
<h1 align="center">Payme PKG</h1>
|
|
16
16
|
|
|
17
|
-
|
|
18
17
|
<p align="center">
|
|
19
18
|
<a href="https://docs.pay-tech.uz"><img src="https://img.shields.io/static/v1?message=Documented%20on%20GitBook&logo=gitbook&logoColor=ffffff&label=%20&labelColor=5c5c5c&color=3F89A1"></a>
|
|
20
19
|
<a href="https://github.com/PayTechUz/payme-pkg"><img src="https://img.shields.io/badge/Open_Source-❤️-FDA599?"/></a>
|
|
@@ -22,15 +21,22 @@ Requires-Dist: djangorestframework==3.*
|
|
|
22
21
|
<a href="https://github.com/PayTechUz/payme-pkg/issues"><img src="https://img.shields.io/github/issues/gitbookIO/gitbook"/></a>
|
|
23
22
|
</p>
|
|
24
23
|
|
|
25
|
-
<p align="center">Welcome to payme-pkg, the open source payme
|
|
24
|
+
<p align="center">Welcome to payme-pkg, the open source payme SDK for Python.</p>
|
|
25
|
+
|
|
26
|
+
<p align="center">You can use it for test and production mode. Join our community and ask everything you need.</p>
|
|
26
27
|
|
|
27
|
-
<p align="center">You can use for test and production mode. Join our community and ask everything you need.
|
|
28
|
-
</p>
|
|
29
28
|
<a href="https://docs.pay-tech.uz">
|
|
30
|
-
<p align="center">Visit
|
|
29
|
+
<p align="center">Visit the full documentation for Merchant and Subscribe API</p>
|
|
31
30
|
</a>
|
|
31
|
+
|
|
32
|
+
<a href="https://youtu.be/xxiIggu_RNk?si=Idpg8omFvFDCYtcm" target="_blank">
|
|
33
|
+
<p align="center">
|
|
34
|
+
<img style="width: 60%;" src="https://i.postimg.cc/WbD32bHC/payme-pkg-demo-m4a.gif" alt="Payme PKG Demo">
|
|
35
|
+
</p>
|
|
36
|
+
</a>
|
|
37
|
+
|
|
32
38
|
<p align="center">
|
|
33
|
-
|
|
39
|
+
<a href="https://youtu.be/xxiIggu_RNk?si=Idpg8omFvFDCYtcm" target="_blank">Watch the YouTube Demo</a>
|
|
34
40
|
</p>
|
|
35
41
|
|
|
36
42
|
## Installation
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|