diff options
| author | Olivier Dony <odo@odoo.com> | 2018-05-17 16:51:02 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@odoo.com> | 2018-05-17 16:51:04 +0200 |
| commit | 0ee73b1cc34d2b5a9efb83aba05ef39b1b4a7d74 (patch) | |
| tree | 6df9ccb429217c57f414d8de81b2aaa33956ab02 | |
| parent | f1330d0709c626facb6be2042b25707cfe665b64 (diff) | |
[FIX] payment_ogone: use correct ECI code
According to Ingenico's documentation, the right transaction origin
(ECI) code to use for recurring transactions is 9.
ECI value 2 is used for recurring MOTO transactions (mail/telephone
orders), which require special authorizations.
Switch to the eCommerce code 9 to make Ingenico subscriptions/contracts
easier to obtain.
Source: https://payment-services.ingenico.com/int/en/ogone/support/guides/integration%20guides/directlink#requestparameters
| -rw-r--r-- | addons/payment_ogone/models/payment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/payment_ogone/models/payment.py b/addons/payment_ogone/models/payment.py index 8771addc151..5164fec16aa 100644 --- a/addons/payment_ogone/models/payment.py +++ b/addons/payment_ogone/models/payment.py @@ -357,7 +357,7 @@ class PaymentTxOgone(models.Model): 'AMOUNT': int(self.amount * 100), 'CURRENCY': self.currency_id.name, 'OPERATION': 'SAL', - 'ECI': 2, # Recurring (from MOTO) + 'ECI': 9, # Recurring (from eCommerce) 'ALIAS': self.payment_token_id.acquirer_ref, 'RTIMEOUT': 30, 'PARAMPLUS' : url_encode(param_plus) |
