Commit Graph

31 Commits

Author SHA1 Message Date
Frédéric Péters 3814073d30 add basic unit test for dummy 2018-07-25 21:10:16 +02:00
Frédéric Péters bbf699c827 dummy: always parse query string as text 2018-07-25 21:10:16 +02:00
Frédéric Péters b88a759e10 dummy: use urlencode from six 2018-07-25 18:23:26 +02:00
Frédéric Péters d313a9cac4 dummy: iterate over a copy of dictionary keys as they are changed in the loop 2018-07-25 18:23:26 +02:00
Frédéric Péters f21d662912 python3: use string.ascii_letters 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 019188f70e python3: use relative import 2018-07-25 10:13:27 +02:00
Frédéric Péters 1cce5f0deb dummy: add possibility to get WAITING as response status (#21554) 2018-01-31 15:21:53 +01:00
Frédéric Péters 6489b09019 dummy: add stub validate/cancel methods (#12891) 2016-08-21 12:48:15 +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 1872b62589 lost part of b69cefbfa8 (#9998) 2016-02-16 19:13:27 +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 768545df13 eopayment: make all response() methods accept **kwargs (#7496) 2015-07-16 14:19:28 +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 58c25c7441 dummy: only keep useful variable in the generated URL not all the locals 2013-05-15 15:19:46 +02:00
Benjamin Dauvergne a9fc6c6b20 add more variables to the dummy backend request 2012-10-05 16:10:34 +02:00
Benjamin Dauvergne 4f76e78eca change format of description records 2012-05-25 15:41:00 +02:00
Benjamin Dauvergne 9290931626 better return transaction state 2012-02-20 19:07:55 +01:00
Benjamin Dauvergne 315297d29f allow to specify the logger to user 2012-02-20 17:14:30 +01:00
Benjamin Dauvergne f4afd4df4b Fix typo in dummy backend, and bump version to 0.0.8 2012-02-20 09:54:06 +01:00
Benjamin Dauvergne b0deff2994 fix typo for the string type 2012-02-17 18:46:55 +01:00
Benjamin Dauvergne 0037b6ccb7 add missing caption for an option of the dummy backend 2012-02-17 18:42:41 +01:00
Benjamin Dauvergne 61efa74383 Improve semantic around signed_result in dummy and spplus backends 2012-02-17 18:11:58 +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 b1c6775fa2 [dummy] add next_url options to force the next_url parameter of .request (bis) 2011-05-05 16:45:13 +02:00
Benjamin Dauvergne 7b9667a99b [dummy] add next_url options to force the next_url parameter of .request 2011-05-05 16:43:09 +02:00
Benjamin Dauvergne c652009e76 Add parameter to the dummy payment protocol to pass a human description of the requesting service 2011-05-05 15:51:20 +02:00
Benjamin Dauvergne 154f69033a Add a dummy payment backend 2011-04-30 19:05:36 +02:00