Commit Graph

367 Commits

Author SHA1 Message Date
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
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
Benjamin Dauvergne 3ecce46175 paybox: handle CANCELLED and DENIED situations (#47582) 2020-10-29 11:28:56 +01:00
Benjamin Dauvergne 274c716eec misc: add cli tool for testing 2020-10-29 10:42:23 +01:00
Benjamin Dauvergne 3256b346f2 dummy: use uuid4() instead of transaction_id() (#47584) 2020-10-27 09:54:29 +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 b1ebd698b3 systempayv2: do not use filesystem for unique vads_trans_id (#47534)
vads_trans_id character space is larger than what we use, using 6
alphanumeric characters probability of collision on a day is small, 1 on
2*10^9.

https://paiement.systempay.fr/doc/fr-FR/form-payment/reference/vads-trans-id.html
2020-10-15 21:04:51 +02:00
Benjamin Dauvergne b0ca39636a systempayv2: change type of vads_trans_id to alphanumeric (#47534) 2020-10-15 21:04:51 +02:00
Benjamin Dauvergne 323a47d19d tests: fix warning in dummy backend tests 2020-10-14 13:18:02 +02:00
Benjamin Dauvergne 258f2aaf1d sips2: use uuid4() or given transaction_id for transactionReference (#47535)
https://documentation.sips.worldline.com/fr/WLSIPS.801-MG-Presentation-generale-de-la-migration-vers-Sips-2.0.html#ariaid-title20
2020-10-13 00:32:44 +02:00
Benjamin Dauvergne 77087b200f paybox: use uuid4() to generate transaction id (#9946) 2020-10-12 16:05:42 +02:00
Benjamin Dauvergne 100315ee6a keyware: map more statuses (#9746) 2020-10-12 15:58:44 +02:00
Benjamin Dauvergne 26758d925f mollie: map more payment status (#9746) 2020-10-12 15:58:44 +02:00
Benjamin Dauvergne 27e2b29a7f update README and docstrings (#47539) 2020-10-12 15:46:41 +02:00
Benjamin Dauvergne 4f77d05222 remove spplus module (#47539) 2020-10-12 15:46:41 +02:00