connections-sdk 3.2.0__py3-none-any.whl → 3.2.2__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.
- connections_sdk/providers/adyen.py +9 -4
- {connections_sdk-3.2.0.dist-info → connections_sdk-3.2.2.dist-info}/METADATA +1 -2
- {connections_sdk-3.2.0.dist-info → connections_sdk-3.2.2.dist-info}/RECORD +5 -5
- {connections_sdk-3.2.0.dist-info → connections_sdk-3.2.2.dist-info}/LICENSE +0 -0
- {connections_sdk-3.2.0.dist-info → connections_sdk-3.2.2.dist-info}/WHEEL +0 -0
|
@@ -124,7 +124,7 @@ class AdyenClient:
|
|
|
124
124
|
"shopperInteraction": "ContAuth" if request.merchant_initiated else "Ecommerce",
|
|
125
125
|
"storePaymentMethod": request.source.store_with_provider,
|
|
126
126
|
"channel": request.customer.channel if request.customer else 'web',
|
|
127
|
-
|
|
127
|
+
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
if request.metadata:
|
|
@@ -141,6 +141,7 @@ class AdyenClient:
|
|
|
141
141
|
payload["recurringProcessingModel"] = recurring_type
|
|
142
142
|
|
|
143
143
|
# Process source based on type
|
|
144
|
+
|
|
144
145
|
payment_method: Dict[str, Any] = {"type": "scheme"}
|
|
145
146
|
|
|
146
147
|
if request.source.type == SourceType.PROCESSOR_TOKEN:
|
|
@@ -157,11 +158,15 @@ class AdyenClient:
|
|
|
157
158
|
if request.source.holder_name:
|
|
158
159
|
payment_method["holderName"] = request.source.holder_name
|
|
159
160
|
|
|
160
|
-
if request.previous_network_transaction_id:
|
|
161
|
-
payload["networkPaymentReference"] = request.previous_network_transaction_id
|
|
162
|
-
|
|
163
161
|
payload["paymentMethod"] = payment_method
|
|
164
162
|
|
|
163
|
+
additionalData: Dict[str, Any] = {}
|
|
164
|
+
|
|
165
|
+
if request.previous_network_transaction_id:
|
|
166
|
+
additionalData["networkTxReference"] = request.previous_network_transaction_id
|
|
167
|
+
|
|
168
|
+
payload["additionalData"] = additionalData
|
|
169
|
+
|
|
165
170
|
# Add customer information
|
|
166
171
|
if request.customer:
|
|
167
172
|
if request.customer.reference:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: connections_sdk
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.2
|
|
4
4
|
Summary: A Python SDK for payment processing
|
|
5
5
|
Author: Basis Theory
|
|
6
6
|
Author-email: support@basistheory.com
|
|
@@ -13,7 +13,6 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
15
15
|
Requires-Dist: deepmerge (>=2.0,<3.0)
|
|
16
|
-
Requires-Dist: faker (>=34.0.0,<35.0.0)
|
|
17
16
|
Requires-Dist: requests (>=2.32.2)
|
|
18
17
|
Description-Content-Type: text/markdown
|
|
19
18
|
|
|
@@ -3,12 +3,12 @@ connections_sdk/client.py,sha256=FkZq68S_syvaJTVRSVPtpA4FwsybRdC9FivRi2SOkoI,316
|
|
|
3
3
|
connections_sdk/config.py,sha256=OPH-J11ecQYP17ubtIXuB_VVuso3t-Ym9V8f5j-G1Xk,398
|
|
4
4
|
connections_sdk/exceptions.py,sha256=AuLet9gpV6OmQrKLO9ozgyrWw1KCPuUxV8Own7gTEmk,761
|
|
5
5
|
connections_sdk/models.py,sha256=L_AntoEFsD9I3TeAi8j-h7HGQK1mNXsHnwZOT5vn7iI,7414
|
|
6
|
-
connections_sdk/providers/adyen.py,sha256=
|
|
6
|
+
connections_sdk/providers/adyen.py,sha256=b47s7JjpMR41st-yRMT_OQdPfkpWTLNqi_gnYoqzzfQ,18993
|
|
7
7
|
connections_sdk/providers/checkout.py,sha256=Mst82u5OR9HpeqQQN5FDGREYytpO5gewJAI9xwjlmtU,35460
|
|
8
8
|
connections_sdk/utils/__init__.py,sha256=iKwqW2egmbc_LO0oQoNLiP5-RBXUd9OpMW6sdEVB_Fs,153
|
|
9
9
|
connections_sdk/utils/model_utils.py,sha256=FB6Cf-dMFr52gi-F6yMEAPJU413Sjv_8zx3IUNBI-Q8,4015
|
|
10
10
|
connections_sdk/utils/request_client.py,sha256=M9eqEpRVoIFUMS51jGJ-C2R1L9_NWw3v3saAq31hVoI,3251
|
|
11
|
-
connections_sdk-3.2.
|
|
12
|
-
connections_sdk-3.2.
|
|
13
|
-
connections_sdk-3.2.
|
|
14
|
-
connections_sdk-3.2.
|
|
11
|
+
connections_sdk-3.2.2.dist-info/LICENSE,sha256=OJSDpWNs9gHwRBdHonZIkQ2-rUpFMxn0V8xxjfz4UQQ,11342
|
|
12
|
+
connections_sdk-3.2.2.dist-info/METADATA,sha256=LHoOzq8wbtPlRRvmk1S_qX_pZy_sr0wSonLJgA8JaGk,2781
|
|
13
|
+
connections_sdk-3.2.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
14
|
+
connections_sdk-3.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|