From 0ee73b1cc34d2b5a9efb83aba05ef39b1b4a7d74 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Thu, 17 May 2018 16:51:02 +0200 Subject: [PATCH] [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 --- addons/payment_ogone/models/payment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)