Commit Graph

32 Commits

Author SHA1 Message Date
Frédéric Péters c028af586b common: add escape() method for python3 2018-07-25 10:17:59 +02:00
Frédéric Péters d009b35ab2 python3: force_text/force_byte 2018-07-25 10:14:25 +02:00
Frédéric Péters fe53eb36df introduce a new "WAITING" status and use it for ogone (#19358) 2017-10-11 10:15:08 +02:00
Serghei Mihai 09f2ec7e3d systempayv2: handle properly unicode params (#13562) 2016-10-13 15:13:27 +02:00
Benjamin Dauvergne 05dfdc5aaf common: force string to unicode in Form 2016-06-16 14:18:00 +02:00
Benjamin Dauvergne 7586ed372c common: fix duplicated PaymentResponse.__repr__ 2016-06-16 14:18:00 +02:00
Benjamin Dauvergne b0e66de926 common: add a real __repr__ method to Form 2016-06-16 14:18:00 +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
Serghei Mihai 8cd625e465 pass order id to all backends (#9941) 2016-02-16 15:56:56 +01:00
Benjamin Dauvergne 0562850ac3 common: add a __repr__ implementation to PaymentResponse (#7496) 2015-07-16 14:19:28 +02:00
Benjamin Dauvergne 110445b739 common: pep8ness (#7496) 2015-07-16 14:14:30 +02:00
Benjamin Dauvergne 630c0567a2 common: improve Form (#7496)
- produce valid XHTML
- allow customizing the submit button
- escape values using cgi.escape() not urllib.quote
2015-07-16 14:14:21 +02:00
Frédéric Péters ee846bd5ed fix CANCELLED constant name, keep typo for backward compatibility (#7006) 2015-04-21 16:38:30 +02:00
Benjamin Dauvergne 1f2b66eb82 Add a new request method, FORM 2015-03-05 16:25:53 +01:00
Benjamin Dauvergne 1defd73f9b Remove default logger on payment methods, build it based on the real class module 2015-03-05 16:25:53 +01: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 b16f409d1d common: store unused logger parameter 2013-05-15 15:19:18 +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 2ea83e0afe add a TIPI backend
fixes #1773
2012-10-10 15:34:20 +02:00
Benjamin Dauvergne 6c2df9a863 fix generic handling of backend parameters 2012-10-03 17:32:52 +02:00
Mathieu Comandon 00dff5f329 common.py pep8 compliance 2012-06-13 13:43:35 +02:00
Benjamin Dauvergne f3c2d7e79b fix documentation of the PaymentResponse documentation 2012-05-29 14:47:27 +02:00
Benjamin Dauvergne 9290931626 better return transaction state 2012-02-20 19:07:55 +01:00
Benjamin Dauvergne b335207433 add __repr__ method to PaymentResponse 2012-02-20 17:48:27 +01:00
Benjamin Dauvergne e9e0d19730 allow to specify the logger to user #2 2012-02-20 17:32:44 +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 e9e3f0cc63 Add a common response object for all payment modules 2012-02-17 16:30:01 +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 569be0db19 [common] fix handling of default parameter values 2011-12-12 17:50:52 +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 7b899eea74 First commit 2011-04-22 17:25:15 +02:00