connections-sdk 3.0.0__tar.gz → 3.1.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: connections_sdk
3
- Version: 3.0.0
3
+ Version: 3.1.0
4
4
  Summary: A Python SDK for payment processing
5
5
  Author: Basis Theory
6
6
  Author-email: support@basistheory.com
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "connections_sdk"
7
- version = "3.0.0"
7
+ version = "3.1.0"
8
8
  description = "A Python SDK for payment processing"
9
9
  authors = ["Basis Theory <support@basistheory.com>"]
10
10
  readme = "README.md"
@@ -123,7 +123,8 @@ class AdyenClient:
123
123
  "merchantAccount": self.merchant_account,
124
124
  "shopperInteraction": "ContAuth" if request.merchant_initiated else "Ecommerce",
125
125
  "storePaymentMethod": request.source.store_with_provider,
126
- "channel": request.customer.channel if request.customer else 'web'
126
+ "channel": request.customer.channel if request.customer else 'web',
127
+ "additionalData": {}
127
128
  }
128
129
 
129
130
  if request.metadata:
@@ -157,7 +158,7 @@ class AdyenClient:
157
158
  payment_method["holderName"] = request.source.holder_name
158
159
 
159
160
  if request.previous_network_transaction_id:
160
- payment_method["networkPaymentReference"] = request. previous_network_transaction_id
161
+ payment_method["additionalData"]["networkTxReference"] = request. previous_network_transaction_id
161
162
 
162
163
  payload["paymentMethod"] = payment_method
163
164
 
File without changes