Skip to content

Commit 289930d

Browse files
Manuel HuezManuel Huez
authored andcommitted
Add 3-D Secure Status field to Transaction
1 parent 5ff36de commit 289930d

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

processout/transaction.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def __init__(self, client, prefill = None):
3535
self._captured_amount = None
3636
self._currency = None
3737
self._error_code = None
38+
self._three_d_s_status = None
3839
self._status = None
3940
self._authorized = None
4041
self._captured = None
@@ -399,6 +400,19 @@ def error_code(self, val):
399400
self._error_code = val
400401
return self
401402

403+
@property
404+
def three_d_s_status(self):
405+
"""Get three_d_s_status"""
406+
return self._three_d_s_status
407+
408+
@three_d_s_status.setter
409+
def three_d_s_status(self, val):
410+
"""Set three_d_s_status
411+
Keyword argument:
412+
val -- New three_d_s_status value"""
413+
self._three_d_s_status = val
414+
return self
415+
402416
@property
403417
def status(self):
404418
"""Get status"""
@@ -563,6 +577,8 @@ def fill_with_data(self, data):
563577
self.currency = data["currency"]
564578
if "error_code" in data.keys():
565579
self.error_code = data["error_code"]
580+
if "three_d_s_status" in data.keys():
581+
self.three_d_s_status = data["three_d_s_status"]
566582
if "status" in data.keys():
567583
self.status = data["status"]
568584
if "authorized" in data.keys():

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
setup(
44
name = 'processout',
55
packages = ['processout', 'processout.errors', 'processout.networking'],
6-
version = '6.4.0',
6+
version = '6.5.0',
77
description = 'ProcessOut API bindings.',
88
author = 'ProcessOut',
99
author_email = '[email protected]',
1010
url = 'https://github.com/processout/processout-python',
11-
download_url = 'https://github.com/processout/processout-python/tarball/6.4.0',
11+
download_url = 'https://github.com/processout/processout-python/tarball/6.5.0',
1212
keywords = ['ProcessOut', 'api', 'bindings'],
1313
classifiers = [],
1414
)

0 commit comments

Comments
 (0)