Commit Graph

304 Commits

Author SHA1 Message Date
Benjamin Dauvergne 1841f1fa4a payfip_ws: consider cancelled transaction as still waiting for a resolution (#71155) 2022-11-09 06:41:37 +01:00
Frédéric Péters 97b6bac733 trivial: adjust import order after six cleanup (#70693) 2022-10-28 08:26:03 +02:00
Frédéric Péters f5e05ee948 trivial: apply pyupgdade -> remove six (#70693) 2022-10-28 08:13:07 +02:00
Agate 76252be8af django4: replaced ugettext* calls with corresponding gettext* calls (#68187) 2022-08-31 09:09:56 +02:00
Benjamin Dauvergne 7b73275f70 add a method to guess transaction_id and backend from an HTTP response (#32224) 2022-06-30 12:11:18 +02:00
Benjamin Dauvergne fe27aeb4e5 misc: remove dead code (#32224) 2022-06-30 12:11:18 +02:00
Benjamin Dauvergne 02d1238761 misc: remove references to sips (#32224)
It broke get_backends().
2022-06-30 12:11:05 +02:00
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
Benjamin Dauvergne 7cb11a273e mollie: fix subject in body (#61417)
Subject does not exist in body.
2022-02-04 08:36:47 +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
Thomas NOËL b0fe753a58 replace Crypto with Cryptodome (#59924) 2021-12-21 11:07:05 +01:00
Serghei Mihai 8bf4ab81c5 trivial: apply isort (#58937) 2021-11-26 12:19:46 +01:00
Serghei Mihai 3ee72e5336 trivial: apply black (#58937) 2021-11-26 12:18:09 +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
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 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 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
Frédéric Péters 46f3145a09 trivial: remove unused request script (#48695) 2020-11-19 19:31:22 +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
Benjamin Dauvergne 5b5f4c165b misc: add payment_status method to Payment (#47670) 2020-11-03 17:21:03 +01:00
Benjamin Dauvergne f1fbcc6982 misc: add an EXPIRED status code (#47670) 2020-10-30 09:57:48 +01:00
Benjamin Dauvergne 7f54812533 systempayv2: add support for chosen transaction_id (#48064) 2020-10-29 17:53:13 +01:00
Benjamin Dauvergne 5549ecbf24 cli: produce correct HTML5 and fix JS query 2020-10-29 11:29:23 +01:00