[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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user