Commit Graph

386 Commits

Author SHA1 Message Date
Thomas NOËL 77a88b2283 replace Crypto with Cryptodome (#59924)
gitea/eopayment/pipeline/head Build started... Details
2021-12-20 15:09:08 +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
Frédéric Péters 52b90ec5c9 debian: remove build-dep on python-django-common, python3-django is enough 2020-11-19 09:31:37 +01:00
Frédéric Péters 064f205d93 debian: add build-dependency on python3-django, required for django-admin 2020-11-19 09:27:37 +01:00
Serghei Mihai d2bf85f4b6 systempayv2: trivial typo fix (#48639) 2020-11-19 09:20:19 +01:00
Frédéric Péters c5245ed58f add French translation 2020-11-19 09:05:52 +01:00
Frédéric Péters 6fe18d4d58 add support for translation when used as a django app (#43082) 2020-11-19 09:05:52 +01:00
Serghei Mihai b35d048030 paybox: accept 3 digits in rang number(#48619)
gitea/eopayment/pipeline/head Build started... Details
2020-11-18 09:16:55 +01:00
Benjamin Dauvergne eea999db67 saga: ensure response.bank_data is JSON serializable (#48266) 2020-11-04 02:10:33 +01:00
Benjamin Dauvergne 0e4f6f248e add Saga payment method (#46502) 2020-11-03 17:39:07 +01:00
Benjamin Dauvergne 4ba0534d01 payfip_ws: add new request() parameters (#48135)
The added parameters are :
* subject, to pass the description of a payment,
* orderid, to pass the order number for the payment,
* transaction_id, to identify a payment with an external identifier,
* exer, custom field for PayFiP.
2020-11-03 17:22:11 +01:00
Benjamin Dauvergne 5bf49c33ba payfip_ws: implement payment_status (#47670)
The response() method is also refactored around payment_status().
2020-11-03 17:21:52 +01:00