python-terminusgps 55.0.0__py3-none-any.whl → 55.3.0__py3-none-any.whl
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.
- {python_terminusgps-55.0.0.dist-info → python_terminusgps-55.3.0.dist-info}/METADATA +1 -1
- {python_terminusgps-55.0.0.dist-info → python_terminusgps-55.3.0.dist-info}/RECORD +6 -6
- terminusgps/authorizenet/api/customer_profiles.py +2 -2
- terminusgps/authorizenet/service.py +6 -1
- {python_terminusgps-55.0.0.dist-info → python_terminusgps-55.3.0.dist-info}/WHEEL +0 -0
- {python_terminusgps-55.0.0.dist-info → python_terminusgps-55.3.0.dist-info}/licenses/COPYING +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 55.
|
|
3
|
+
Version: 55.3.0
|
|
4
4
|
Summary: Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more.
|
|
5
5
|
Project-URL: Documentation, https://terminusgps.github.io/python-terminusgps
|
|
6
6
|
Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
|
|
@@ -3,11 +3,11 @@ terminusgps/default_settings.py,sha256=Y2JwX4SiZ4BMVviADjMZ_vYh5rCo3FN5bwlVul2Eb
|
|
|
3
3
|
terminusgps/mixins.py,sha256=lY5hB6yFAKjW1_xM5eE9Xt9C9JpKcjMoVco55B8j9gw,787
|
|
4
4
|
terminusgps/validators.py,sha256=ZO3ychuBfpGTLsXFU_PFVMkMOyE1fJIsQh2hYsGDjKM,9508
|
|
5
5
|
terminusgps/authorizenet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
terminusgps/authorizenet/service.py,sha256=
|
|
6
|
+
terminusgps/authorizenet/service.py,sha256=cpSxAKDR332Jc47Sz0KvdWRcJi-Du9zbuXsLtmhznL8,3471
|
|
7
7
|
terminusgps/authorizenet/api/__init__.py,sha256=NtcBsxUZqXuRHVCA3-My_TZu_rt_Q_xFddUL3TCGPww,176
|
|
8
8
|
terminusgps/authorizenet/api/accept.py,sha256=AplZ7-YcaYWaTERLBwV6H4qUIyHLJetTQW3xhTmMy18,2251
|
|
9
9
|
terminusgps/authorizenet/api/address_profiles.py,sha256=sZgq2mdJIblzroGodgSJXpXhN6eHsOAGmStjP1cpLUE,4907
|
|
10
|
-
terminusgps/authorizenet/api/customer_profiles.py,sha256=
|
|
10
|
+
terminusgps/authorizenet/api/customer_profiles.py,sha256=fRrhfwZSrEtLzSLDGD6Jk3_pTKgn-D8Wlz-F0Bl1bX8,5902
|
|
11
11
|
terminusgps/authorizenet/api/payment_profiles.py,sha256=YhqegLkiue2AXEoyr5xQUYipXQPGHn615cH0MtOL6vc,7159
|
|
12
12
|
terminusgps/authorizenet/api/subscriptions.py,sha256=3ybnXnLbgpFvdPj0nH6Z-ZselFS_bN6YBHw5ABxX310,4510
|
|
13
13
|
terminusgps/authorizenet/api/transactions.py,sha256=HB7-tVKWL1CSirLgEg_sMkNNdiBLuH1y25KUDC11S14,10331
|
|
@@ -16,7 +16,7 @@ terminusgps/wialon/constants.py,sha256=fs0KpTSEBddYKgvuB6OZfy_JCIgKoiupQJxx53EBg
|
|
|
16
16
|
terminusgps/wialon/flags.py,sha256=M50EdhxQ8IMnJnU0mrHK7-h8Asc6tvNiTOOfd1dBW6A,12815
|
|
17
17
|
terminusgps/wialon/session.py,sha256=oLvO3ktw2skrfNkIfNmMwrUpKFJKzuZJFiDDA1Z3O4g,7074
|
|
18
18
|
terminusgps/wialon/utils.py,sha256=XRK53G0Ogv3AY-1KrfW_3Tym3D1LOUTRB-lDph-5RNw,6879
|
|
19
|
-
python_terminusgps-55.
|
|
20
|
-
python_terminusgps-55.
|
|
21
|
-
python_terminusgps-55.
|
|
22
|
-
python_terminusgps-55.
|
|
19
|
+
python_terminusgps-55.3.0.dist-info/METADATA,sha256=dytxv85gBkyjafrb-euoSE540y4pKAcRuF41L29USzo,985
|
|
20
|
+
python_terminusgps-55.3.0.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
|
|
21
|
+
python_terminusgps-55.3.0.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
22
|
+
python_terminusgps-55.3.0.dist-info/RECORD,,
|
|
@@ -67,8 +67,8 @@ def get_customer_profile(
|
|
|
67
67
|
)
|
|
68
68
|
|
|
69
69
|
request = apicontractsv1.getCustomerProfileRequest()
|
|
70
|
-
request.includeIssuerInfo =
|
|
71
|
-
request.unmaskExpirationDate =
|
|
70
|
+
request.includeIssuerInfo = int(include_issuer_info)
|
|
71
|
+
request.unmaskExpirationDate = int(unmask_expiration_date)
|
|
72
72
|
if customer_profile_id is not None:
|
|
73
73
|
request.customerProfileId = str(customer_profile_id)
|
|
74
74
|
if email is not None:
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import logging
|
|
1
2
|
from functools import cached_property
|
|
2
3
|
|
|
3
4
|
from authorizenet.apicontractsv1 import merchantAuthenticationType
|
|
@@ -5,6 +6,8 @@ from authorizenet.apicontrollersbase import APIOperationBase
|
|
|
5
6
|
from django.conf import settings
|
|
6
7
|
from lxml.objectify import ObjectifiedElement
|
|
7
8
|
|
|
9
|
+
logger = logging.getLogger(__name__)
|
|
10
|
+
|
|
8
11
|
|
|
9
12
|
class AuthorizenetError(Exception):
|
|
10
13
|
"""Raised when an Authorizenet API controller fails to execute."""
|
|
@@ -51,7 +54,9 @@ class AuthorizenetService:
|
|
|
51
54
|
request.merchantAuthentication = self.merchantAuthentication
|
|
52
55
|
if reference_id is not None:
|
|
53
56
|
request.refId = reference_id
|
|
54
|
-
|
|
57
|
+
logger.debug(f"Anet API call controller: {controller_cls.__name__}")
|
|
58
|
+
logger.debug(f"Anet API call environment: {self.environment}")
|
|
59
|
+
logger.debug(f"Anet API call request: {type(request).__name__}")
|
|
55
60
|
controller = controller_cls(request)
|
|
56
61
|
controller.setenvironment(self.environment)
|
|
57
62
|
controller.execute()
|
|
File without changes
|
{python_terminusgps-55.0.0.dist-info → python_terminusgps-55.3.0.dist-info}/licenses/COPYING
RENAMED
|
File without changes
|