Commit graph

135 commits

Author SHA1 Message Date
Henryk Plötz
3f6f49b8d4 Fix some bugs 2019-06-27 20:45:05 +02:00
Henryk Plötz
db35a2b428 Add roundtrip parsing-serializing-compare test (fails) 2019-06-27 19:59:01 +02:00
Henryk Plötz
482624b4ae Fix invalid regex literal 2019-06-27 17:42:11 +02:00
Henryk Plötz
f506d69f86 Make order of arguments stable (kwargs wasn't sorted, at least on Python 3.5) 2019-06-27 17:38:49 +02:00
Henryk Plötz
c1a4a03bed Merge remote-tracking branch 'karolyi/master' into py3 2019-06-27 17:25:29 +02:00
Henryk Plötz
ffece753de
Update ecr.py
Send empty TLV for payment
2019-06-27 11:23:22 +02:00
Henryk Plötz
3d99011e62
Update base_packets.py
Allow tlv on Authorisation packet
2019-06-27 11:22:10 +02:00
e884bcfe7c
Bumping version + pythonizing 2019-02-24 11:27:00 +01:00
Raphael Michel
28c187d9a0
Workaround for ingenico timeouts 2019-02-24 11:27:00 +01:00
101798737b
Fix flake8 error 2018-12-31 11:58:01 +01:00
Henryk Plötz
a513f7f7e8
Allow to pass arguments to register() 2018-12-31 11:55:09 +01:00
Henryk Plötz
448e1a071f
Add abort command packet 2018-12-31 11:55:09 +01:00
Henryk Plötz
e2ed32d4f5
Add listener parameter to ECR.end_of_day() 2018-12-31 11:55:09 +01:00
Henryk Plötz
9c56266a42
Don't change the EOD dictionary while iterating over it 2018-12-31 11:55:09 +01:00
Henryk Plötz
b308fbe7ad
Fix AttributeError 2018-12-31 11:55:09 +01:00
Henryk Plötz
db02c3ab30
Swap endianness 2018-12-31 11:55:08 +01:00
Henryk Plötz
065d4e63d1 Allow to pass arguments to register() 2018-12-16 02:21:41 +01:00
Henryk Plötz
c932bc9027 Add abort command packet 2018-12-15 23:36:51 +01:00
Henryk Plötz
1a1f080a84 Add listener parameter to ECR.end_of_day() 2018-12-14 02:59:32 +01:00
Henryk Plötz
c8c5be2c6d Don't change the EOD dictionary while iterating over it 2018-12-14 02:46:28 +01:00
Henryk Plötz
00350925c6 Fix AttributeError 2018-12-08 19:05:05 +01:00
Henryk Plötz
fd7d7e7ef8 Swap endianness 2018-12-05 17:22:13 +01:00
2063a04f31
Bumping version 2018-11-29 16:10:55 +01:00
Henryk Plötz
ece584d8c5
Un-break status completion response parsing
PA00P015_13.08_en section 2.56.5 Completion: The terminal status code may be followed by an optional 0x06 followed by a TLV container.
(Doesn't parse the TLV container yet, but doesn't error out either)
2018-11-29 16:09:04 +01:00
Henryk Plötz
cfac15d9f9 Un-break status completion response parsing
PA00P015_13.08_en section 2.56.5 Completion: The terminal status code may be followed by an optional 0x06 followed by a TLV container.
(Doesn't parse the TLV container yet, but doesn't error out either)
2018-11-14 15:11:20 +01:00
97c69c3800
Merge @raphaelm's non-fatal changes 2018-09-28 01:27:14 +02:00
Raphael Michel
2e69231315 Fix windows sockets 2018-07-20 13:42:06 +02:00
Raphael Michel
0e9019e229 Fix package name to work with commands like "python setup.py develop" 2018-07-20 13:09:58 +02:00
Raphael Michel
50acceefcf Add listener hook for responses 2018-07-20 13:09:45 +02:00
9ff7af6fbb
Windows7 doesn't have TCP_KEEPCNT 2018-05-22 00:22:19 +02:00
395fdc66aa
Revert "Return completion instead of payment True on payment success"
This reverts commit ce753d9937.
2018-05-21 17:16:20 +02:00
ce753d9937
Return completion instead of payment True on payment success 2018-05-21 17:00:42 +02:00
2d842d058a
Adding packet level debug 2018-05-19 21:05:24 +02:00
9b5a0441ac
Use debug as uri parameter 2018-05-19 20:34:31 +02:00
188a877086
More platform-specific imports 2018-05-13 19:09:53 +02:00
fa6e72b346
Windows doesn't have certain importables 2018-05-12 20:40:31 +02:00
be30ac00be
Use TCP timeouts 2018-05-12 20:35:20 +02:00
2785cb0d24
Raise the TransportConnectionFailed from a deeper stack level 2018-05-12 19:24:23 +02:00
fdda2bf8f1
Use TransportConnectionFailed for failed TCP connections 2018-05-12 19:20:51 +02:00
e6b5b203cf
Add a configurable TCP connect timeout 2018-05-12 19:16:03 +02:00
a260b91bba
Fixing tests 2018-04-23 20:15:03 +02:00
cdab7d2252
Add tcp timeout handling 2018-04-23 20:10:27 +02:00
188ecb02bb
Trying to get more timeout for certain operations 2018-04-23 19:21:55 +02:00
23db1bd509
First working version of SocketTransport 2018-04-23 17:12:13 +02:00
be77759e8e
Adjusting setup.py 2018-04-23 13:14:15 +02:00
0d2c8e229e
Renaming TcpTransport to SocketTransport 2018-04-23 12:59:22 +02:00
eb192f5ef8
Adding termination on flake8 failure 2018-04-23 12:48:54 +02:00
5a2372701c
Removing unnecessary import 2018-04-22 22:10:38 +02:00
fde4835b1e
Fixing tests 2018-04-22 22:08:40 +02:00
79430085c8
More PEP8, initial TCP transport 2018-04-22 22:06:09 +02:00