Commit Graph

98 Commits

Author SHA1 Message Date
Frédéric Péters d69e64eb8b add guess() method to dummy backend (#82921)
gitea/eopayment/pipeline/head This commit looks good Details
2023-11-10 08:56:52 +01:00
Valentin Deniaud 02781300dc misc: apply double-quote-string-fixer (#79788) 2023-08-16 11:52:35 +02:00
Thomas NOËL 1f781057c7 dummy: use a new URL https://dummy-payment.entrouvert.com/ (#72234) 2022-12-09 15:55:53 +01:00
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
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 02d1238761 misc: remove references to sips (#32224)
It broke get_backends().
2022-06-30 12:11:05 +02: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
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 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
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 0c13ae109d paybox: raise ResponseError on malformed signatures (#49705) 2021-03-31 19:20:37 +02: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 dbb2301eb5 misc: transform Payment.payment_status into a property (#49148) 2021-01-29 15:38:07 +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 7f54812533 systempayv2: add support for chosen transaction_id (#48064) 2020-10-29 17:53:13 +01:00
Benjamin Dauvergne ed22f7e182 dummy: remove unused siret parameter (#34064) 2020-10-26 20:41:43 +01:00
Benjamin Dauvergne c4f59e4412 tests: make payfip tests compatible with zeep 4.0 2020-10-15 21:31:41 +02:00
Benjamin Dauvergne 7fa4e35641 systempayv2: map DENIED and CANCELLED result codes (#17065) 2020-10-15 21:05:36 +02:00
Benjamin Dauvergne 323a47d19d tests: fix warning in dummy backend tests 2020-10-14 13:18:02 +02:00
Benjamin Dauvergne 77087b200f paybox: use uuid4() to generate transaction id (#9946) 2020-10-12 16:05:42 +02:00
Benjamin Dauvergne 4f77d05222 remove spplus module (#47539) 2020-10-12 15:46:41 +02:00
Benjamin Dauvergne 3ac360abe8 tipi: use Paris timezone for generating refdet (#46237) 2020-10-11 09:35:50 +02:00
Benjamin Dauvergne e2ec0860cc dummy: handle subject in request() (#46789) 2020-09-18 15:42:52 +02:00
Benjamin Dauvergne b99c62cfd5 dummy: handle capture_date in request() (#46787) 2020-09-18 15:40:30 +02:00
Serghei Mihai cae250d132 systempayv2: implement HMAC SHA256 signature (#46658) 2020-09-15 15:20:10 +02:00
Serghei Mihai 68242bd435 misc: do not convert parameters to text (#46520) 2020-09-11 11:52:37 +02:00
Serghei Mihai 24459e80d0 misc: do not force to text boolean parameters (#46520) 2020-09-10 16:00:33 +02:00
Serghei Mihai 5991c69c4e spplus: handle secret key as string (#46432) 2020-09-09 12:19:02 +02:00
Frédéric Péters 6ebcd4c674 ogone: use iso-8859-15 encoding for signature (#44150) 2020-06-17 07:51:45 +02:00
Valentin Deniaud c038a9f2d0 keyware: remove payment_methods parameter (#43030) 2020-05-18 17:59:09 +02:00
Valentin Deniaud daa57ffa2e add mollie payment method (#28933) 2020-05-15 15:41:53 +02:00
Valentin Deniaud 18764204cd add keyware payment method (#39377) 2020-04-21 17:10:04 +02:00
Valentin Deniaud 4eff1c29f3 common: add method for checking amount value (#39377) 2020-04-21 17:08:21 +02:00