From 7fda09549ccd8adb1915a153242c3d2ed245b6aa Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Tue, 2 Oct 2018 01:00:37 +0200 Subject: [PATCH] [ADD] payment_ogone: log s2s ALIAS creation This is an important event, including for PCI compliance, so it is useful to log it. --- addons/payment_ogone/models/payment.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/payment_ogone/models/payment.py b/addons/payment_ogone/models/payment.py index f6439cb17d3..c78149af1d2 100644 --- a/addons/payment_ogone/models/payment.py +++ b/addons/payment_ogone/models/payment.py @@ -548,6 +548,7 @@ class PaymentToken(models.Model): } url = 'https://secure.ogone.com/ncol/%s/AFU_agree.asp' % (acquirer.environment,) + _logger.info("ogone_create: Creating new alias %s via url %s", alias, url) result = requests.post(url, data=data).content try: