Commit Graph

47 Commits

Author SHA1 Message Date
Frédéric Péters 7b2f106348 systempayv2: update for python3 2018-07-25 10:22:22 +02:00
Frédéric Péters 79735f6418 python3: use items instead of iteritems 2018-07-25 10:14:25 +02:00
Frédéric Péters 8e74d949b5 python3: use six to get urlparse/urllib modules 2018-07-25 10:14:25 +02:00
Frédéric Péters b4cc0e71d4 python3: don't use leading 0 in integers 2018-07-25 10:13:27 +02:00
Frédéric Péters 019188f70e python3: use relative import 2018-07-25 10:13:27 +02:00
Serghei Mihai ea7e051c9e systempayv2: allos spaces in user first and last names (#13834) 2016-11-03 14:31:15 +01:00
Serghei Mihai 09f2ec7e3d systempayv2: handle properly unicode params (#13562) 2016-10-13 15:13:27 +02:00
Serghei Mihai b8e60c72d2 systempayv2, sips2: update fields for passing user full name (#12447)
Log input params at backends initialization.
2016-09-12 14:09:12 +02:00
Benjamin Dauvergne d0c523ff12 systempayv2: force field's name and values to be unicode (fixes #10846) 2016-06-16 14:59:35 +02:00
Frédéric Péters f0a4bdddcd systempayv2: use string for vads_currency (#11382) 2016-06-16 10:06:12 +02:00
Benjamin Dauvergne a2a8936f64 remove double definition of VADS_TRANS_ID 2016-06-13 09:31:14 +02:00
Serghei Mihai b96a95e6ec systempayv2. fix signature logging (#10723) 2016-04-20 17:11:21 +02:00
Frédéric Péters 60a71c626e general: check responses for required attributes as 1st processing step (#9729) 2016-03-09 22:31:40 +01:00
Frédéric Péters a7dcc7a5e5 general: give same signature to all Payment object constructors (#10030) 2016-02-18 16:29:01 +01:00
Frédéric Péters 1872b62589 lost part of b69cefbfa8 (#9998) 2016-02-16 19:13:27 +01:00
Benjamin Dauvergne 18ce89571b systempayv2: extract tests from module 2016-02-16 18:26:20 +01:00
Frédéric Péters b69cefbfa8 standardise normal_return_url and automatic_return_url options (#9998) 2016-02-16 18:20:48 +01:00
Serghei Mihai 8cd625e465 pass order id to all backends (#9941) 2016-02-16 15:56:56 +01:00
Benjamin Dauvergne 8c0def0c29 implement payzen backend by inheriting systempayv2 (fixes #8854) 2015-11-19 10:47:22 +01:00
Benjamin Dauvergne 9cc7479088 fix tests 2015-10-06 21:52:43 +02:00
Benjamin Dauvergne de767e7022 eopayment: send request using a form and the POST method (fixes #6425)
also normalize all parameters to unicode.
2015-07-22 00:39:25 +02:00
Benjamin Dauvergne 91847deeb6 systempayv2: pep8ness 2015-07-22 00:28:39 +02:00
Benjamin Dauvergne 768545df13 eopayment: make all response() methods accept **kwargs (#7496) 2015-07-16 14:19:28 +02:00
Benjamin Dauvergne 02bf620f94 Add test vector for systempayv2 to validate the signature algorithm 2015-03-31 14:18:35 +02:00
Thomas NOËL db67c3887d add response.test flag
on tipi, spplus and systempayv2 only.
2014-03-30 19:27:48 +02:00
Benjamin Dauvergne a4b47d91f4 Merge branch 'master' of git://github.com/strycore/eopayment
Conflicts:
	eopayment/systempayv2.py
2013-03-29 18:45:36 +01:00
Benjamin Dauvergne 3a1b3f651f systempayv2: do not try to validate email fields, we suppose the caller knows better 2012-11-23 09:46:50 +01:00
Benjamin Dauvergne 98ed00315a remove unused import 2012-10-10 14:56:46 +02:00
Benjamin Dauvergne 7813a109c7 vads_cust_name can contain spaces, its type is "ans" no "an" 2012-10-05 16:08:27 +02:00
Benjamin Dauvergne 5b1ba343eb systempayv2: the date must be in the UTC zone 2012-10-05 10:47:59 +02:00
Benjamin Dauvergne 3689d539d0 add more parameters to request() 2012-10-03 17:30:13 +02:00
Benjamin Dauvergne 1002b95117 augment the number of arguments accepted by the request method 2012-09-24 15:43:55 +02:00
Mathieu Comandon d3e3d43bec pep8 on systempay 2012-07-10 18:04:22 +02:00
Benjamin Dauvergne 9db43f448c systempayv2: does not use syntax from python 2.7 2012-06-01 16:45:16 +02:00
Benjamin Dauvergne 34408e855f systempayv2: amount unit is cents 2012-05-29 17:43:51 +02:00
Benjamin Dauvergne b3254d60f4 properly initialize PaymentResponse.result attribute 2012-05-29 16:55:55 +02:00
Benjamin Dauvergne 17171f56ac systempayv2: finish response handling, fix signature checking for responses 2012-05-29 14:50:23 +02:00
Benjamin Dauvergne 0b114b0cb9 systempayv2: improve parameter descriptions 2012-05-29 14:49:26 +02:00
Benjamin Dauvergne 91489ed11b systempayv2: raise it to the level of the spplus backend
- create description,
- add descriptions to certain parameters,
- add more logs,
- add vads_order_info* parameters,
- add vads_payment_cards parameter
- set GET as the default return mode,
- fix return value of Payment.request.
2012-05-25 15:42:04 +02:00
Benjamin Dauvergne e9e0d19730 allow to specify the logger to user #2 2012-02-20 17:32:44 +01:00
Benjamin Dauvergne 315297d29f allow to specify the logger to user 2012-02-20 17:14:30 +01:00
Benjamin Dauvergne f0c3442560 Mutualize the response code from french credit card processor 2012-02-17 18:11:34 +01:00
Benjamin Dauvergne 8dee7ee341 Add a new PaymentResponse to abstract the return value of the response method 2012-02-17 17:49:51 +01:00
Benjamin Dauvergne a8f3dc7222 copy the bank authorisation number into a common variable name
Each API has a way of transmitting the authorisation number, we copy to
a common name when handling response messages.
2012-01-30 17:47:47 +01:00
Benjamin Dauvergne 9f72272089 Add default parameter to descriptions
The __init__ method for spplus and dummy backends were moved to
PaymentCommon. The same thing will happen to systempayv2 and sips
backends.
2011-05-27 15:55:26 +02:00
Benjamin Dauvergne 5af4679368 Ensure transaction id unicity, add logging to spplus 2011-04-26 12:41:19 +02:00
Benjamin Dauvergne 7b899eea74 First commit 2011-04-22 17:25:15 +02:00