Commit Graph

396 Commits

Author SHA1 Message Date
Serghei Mihai 3abc468775 paybox: accept two digits value for rang parameter (#65828)
gitea/eopayment/pipeline/head Build started... Details
2022-05-31 17:35:13 +02:00
Benjamin Dauvergne 2f7c4374f3 systempayv2: change scope of some parameters (#65136)
Change scope of parameters "vads_orde_info, vads_order_info2, vads_order_info3 and
vads_payment_config" to "transaction".
2022-05-11 16:56:34 +02:00
Frédéric Péters 80c979113c trivial: bump black version to 22.3.0 2022-04-03 16:52:13 +02:00
Frédéric Péters 944e54873c trivial: bump black version to 22.1.0 (#62312) 2022-03-01 19:40:56 +01:00
Benjamin Dauvergne 7cb11a273e mollie: fix subject in body (#61417)
Subject does not exist in body.
2022-02-04 08:36:47 +01:00
Frédéric Péters d43c66caa4 trivial: remove python 2 from classifiers 2022-02-02 08:09:18 +01:00
Benjamin Dauvergne 80c103a257 mollie: set has_empty_response flag (#61241) 2022-01-29 09:45:41 +01:00
Benjamin Dauvergne ae14959c2a misc: add empty_response flag (#61241) 2022-01-29 09:12:08 +01:00
Benjamin Dauvergne 0608e27dfe mollie: pass orderid in description field (#60808)
The field "description" can also be filled with a more human description
using the subject parameter of request().
2022-01-19 10:48:10 +01:00
Emmanuel Cazenave 6f9ebcd866 jenkins: show execution context in coverage reports (#60446) 2022-01-11 16:13:24 +01:00
Thomas NOËL b0fe753a58 replace Crypto with Cryptodome (#59924) 2021-12-21 11:07:05 +01:00
Frédéric Péters fd729ab30a debian: remove obsolete python3-crypto build-dep 2021-12-12 12:26:07 +01:00
Frédéric Péters ba6d08f8a8 jenkins: build packages for buster & bullseye 2021-12-12 12:00:49 +01:00
Frédéric Péters 2365453f52 debian: use debhelper compat level 12 2021-12-12 12:00:49 +01:00
Frédéric Péters 4abdb75fed debian: stop declaring python2 package 2021-12-12 12:00:35 +01:00
Serghei Mihai 2b74e7f34b debian: really stop building py2 package (#58937) 2021-11-29 15:52:46 +01:00
Serghei Mihai 025d2320e3 debian: stop building py2 version (#58937) 2021-11-29 13:57:29 +01:00
Serghei Mihai 3afaa1148a misc: add isort (#58937)
gitea/eopayment/pipeline/head Build started... Details
2021-11-26 12:20:51 +01:00
Serghei Mihai 8bf4ab81c5 trivial: apply isort (#58937) 2021-11-26 12:19:46 +01:00
Serghei Mihai 766991930a misc: add black (#58937) 2021-11-26 12:19:45 +01:00
Serghei Mihai 3ee72e5336 trivial: apply black (#58937) 2021-11-26 12:18:09 +01:00
Serghei Mihai f350cf3169 misc: add pyupgrade (#58937) 2021-11-26 12:18:08 +01:00
Serghei Mihai caa40e7e77 trivial: apply pyupgrade (#58937) 2021-11-26 12:15:14 +01:00
Serghei Mihai 19ab05d59e misc: migrate code to python 3 (#58944) 2021-11-24 19:01:31 +01:00
Serghei Mihai 0f59994d80 tox: don't run tests against python 2 (#58940) 2021-11-24 12:42:06 +01:00
Benjamin Dauvergne cc54798189 payfip_ws: encapsulate requests exceptions in PayFiPError (#57838) 2021-10-21 08:15:39 +02:00
Benjamin Dauvergne 6284e0fbb3 add minimal and maximal amount attribute to backends (#57367) 2021-09-28 22:01:56 +02:00
Benjamin Dauvergne db91463687 tipi/payfip_ws: remove URL backend parameters (#46688) 2021-06-11 06:37:17 +02:00
Benjamin Dauvergne 8406ab8be8 tipi/payfip_ws: change URL from www.tipi.budget.gouv.fr to www.payfip.gouv.fr (#46688)
WSDL are also updated to their last version.
2021-06-11 06:37:17 +02:00
Frédéric Péters b74ed9cde6 sips2: use new domain names (#53235) 2021-06-06 22:07:51 +02:00
Benjamin Dauvergne e65214d4b1 translation update 2021-05-06 17:12:57 +02:00
Benjamin Dauvergne 842eeaacf0 payfip: set min_time_between_transactions to 20 minutes (#49144) 2021-05-06 17:08:04 +02:00
Benjamin Dauvergne 3b5dbb6537 misc: add get_min_time_between_transactions() accessor (#49144) 2021-05-06 17:08:04 +02:00
Benjamin Dauvergne a9516b5c64 ogone: use COMPLUS to transmit the transaction_id (#47536)
Now ORDERID will contain the orderid if it is given or the
transaction_id if there is no orderid.

response() is adapted to work with old and new reponse:
* old, there is no COMPLUS in the response, ORDERID is used as the
  transaction_id
* new, COMPLUS is present, its value is returned as response.order_id
  (which is in fact the transaction_id :/ )

Ref:
https://epayments-support.ingenico.com/fr/integration/all-sales-channels/integrate-with-e-commerce/guide#variable-feedback-parameters
https://epayments-support.ingenico.com/fr/integration/all-sales-channels/integrate-with-e-commerce/guide#form-parameters
2021-05-06 17:07:34 +02:00
Benjamin Dauvergne c9174c008f payfip_ws: initialize PayFiP SOAP client lazily and encapsulate internal exceptions (#53590) 2021-04-30 11:20:33 +02:00
Benjamin Dauvergne 0c13ae109d paybox: raise ResponseError on malformed signatures (#49705) 2021-03-31 19:20:37 +02:00
Benjamin Dauvergne b456c19e6a systempayv2: raise an error when no transaction_id is found (#47538) 2021-03-11 14:06:45 +01:00
Benjamin Dauvergne a546bbaf5b ogone: add algo parameter (#51305) 2021-02-25 10:54:39 +01:00
Benjamin Dauvergne 42644a5a71 ogone: use pytest style tests (#51305) 2021-02-25 10:54:39 +01:00
Benjamin Dauvergne 5afe44fd60 paybox: improve shared_secret validation (#49822) 2021-02-20 20:02:15 +01:00
Frédéric Péters 2acbdd4095 ogone: check signature using both iso-8859-1 and utf-8 encodings (#51304) 2021-02-19 19:21:33 +01:00
Benjamin Dauvergne 1f3c6826ee sips2 : add flag has_free_transaction_id=True (#48233) 2021-02-08 16:24:29 +01:00
Benjamin Dauvergne dbb2301eb5 misc: transform Payment.payment_status into a property (#49148) 2021-01-29 15:38:07 +01:00
Frédéric Péters 715b7555f2 build: update to use origin/main 2020-12-26 15:21:15 +01:00
Frédéric Péters e826eed313 do not mark French strings for translation (#48218) 2020-12-03 21:23:25 +01:00
Serghei Mihai 74fc1fe43b paybox: add help text for 'cle' parameter (#48218) 2020-12-03 17:22:27 +01:00
Benjamin Dauvergne 7fcee11aa2 setup.py: remove DJANGO_SETTINGS_MODULE from environment (#48707) 2020-11-20 15:38:59 +01:00
Frédéric Péters 62c5549eb6 build: don't let a compilemessages failure abort the build (#48707) 2020-11-20 09:57:16 +01:00
Frédéric Péters 46f3145a09 trivial: remove unused request script (#48695) 2020-11-19 19:31:22 +01:00
Frédéric Péters 8dcae040e6 jenkins: publish coverage data after tests step (#48694)
gitea/eopayment/pipeline/head Build started... Details
2020-11-19 19:28:22 +01:00