Commit Graph

15 Commits

Author SHA1 Message Date
Serghei Mihai caa40e7e77 trivial: apply pyupgrade (#58937) 2021-11-26 12:15:14 +01: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 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
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
Frédéric Péters 6ebcd4c674 ogone: use iso-8859-15 encoding for signature (#44150) 2020-06-17 07:51:45 +02:00
Benjamin Dauvergne a414c56bd4 tests: clear warnings about assertRaisesRegexp 2020-04-10 11:56:51 +02:00
Benjamin Dauvergne 768f65f72f misc: style, PEP8 2020-04-10 11:56:48 +02:00
Thomas NOËL e8f12c5d1f add a message in ResponseErrors (#25773) 2018-08-22 23:14:53 +02:00
Frédéric Péters 887832bc5f add python3 compatibility (#23720) 2018-07-26 16:25:28 +02:00
Frédéric Péters fe53eb36df introduce a new "WAITING" status and use it for ogone (#19358) 2017-10-11 10:15:08 +02:00
Serghei Mihai 11ba668f42 ogone: fix response parameters encoding (#13728) 2016-10-25 12:03:38 +02:00
Serghei Mihai d6b80acd02 ogone: handle properly unicode params (#13592) 2016-10-21 16:09:00 +02:00
Frédéric Péters 60a71c626e general: check responses for required attributes as 1st processing step (#9729) 2016-03-09 22:31:40 +01:00
Serghei Mihai 8cd625e465 pass order id to all backends (#9941) 2016-02-16 15:56:56 +01:00