payme-pkg 3.0.12__tar.gz → 3.0.13__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.12 → payme_pkg-3.0.13}/PKG-INFO +1 -1
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/exceptions/general.py +9 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme_pkg.egg-info/PKG-INFO +1 -1
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/setup.py +1 -1
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/LICENSE.txt +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/README.md +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/__init__.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/admin.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/apps.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/classes/__init__.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/classes/cards.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/classes/client.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/classes/http.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/classes/initializer.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/classes/receipts.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/const.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/exceptions/__init__.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/exceptions/webhook.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/migrations/__init__.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/models.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/types/__init__.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/types/request/__init__.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/types/response/__init__.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/types/response/cards.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/types/response/receipts.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/types/response/webhook.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/urls.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/util.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme/views.py +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme_pkg.egg-info/SOURCES.txt +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme_pkg.egg-info/dependency_links.txt +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme_pkg.egg-info/requires.txt +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/payme_pkg.egg-info/top_level.txt +0 -0
- {payme_pkg-3.0.12 → payme_pkg-3.0.13}/setup.cfg +0 -0
|
@@ -146,6 +146,14 @@ class InsufficientFundsError(CardError):
|
|
|
146
146
|
super().__init__(-31303, self.message, data)
|
|
147
147
|
|
|
148
148
|
|
|
149
|
+
class InsufficientFundsErrorV2(CardError):
|
|
150
|
+
"""Insufficient funds on the card."""
|
|
151
|
+
message = "Insufficient funds on the card."
|
|
152
|
+
|
|
153
|
+
def __init__(self, data=None):
|
|
154
|
+
super().__init__(-31630, self.message, data)
|
|
155
|
+
|
|
156
|
+
|
|
149
157
|
class InvalidCardNumberError(CardError):
|
|
150
158
|
"""Invalid card number provided."""
|
|
151
159
|
message = "Invalid card number."
|
|
@@ -254,6 +262,7 @@ errors_map = {
|
|
|
254
262
|
-31301: SmsNotConnectedError,
|
|
255
263
|
-31302: BalanceError,
|
|
256
264
|
-31303: InsufficientFundsError,
|
|
265
|
+
-31630: InsufficientFundsErrorV2,
|
|
257
266
|
-31300: InvalidCardNumberError,
|
|
258
267
|
-31002: ProcessingServerError,
|
|
259
268
|
-31110: OtpSendError,
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|