diff options
author | Magnus Hagander | 2015-09-23 07:38:02 +0000 |
---|---|---|
committer | Magnus Hagander | 2015-09-23 07:38:02 +0000 |
commit | 871eeec5f3207cc5e57c79a97014fa276a0c2014 (patch) | |
tree | 6f6b2bd86c2870f81ed63c40dae7bf9b177c0ba6 /postgresqleu/adyen/util.py | |
parent | 44018f60c1fdf4f72814073cb2abb945938dd058 (diff) |
Indicate which payment method was used in Adyen notification emails
This will be visa/mc/amex, but also (and the reason for this addition) separates
out banktransferIban for the new payment method.
Diffstat (limited to 'postgresqleu/adyen/util.py')
-rw-r--r-- | postgresqleu/adyen/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/adyen/util.py b/postgresqleu/adyen/util.py index 95f7c055..fb1efa75 100644 --- a/postgresqleu/adyen/util.py +++ b/postgresqleu/adyen/util.py @@ -91,7 +91,7 @@ def process_authorization(notification): send_simple_mail(settings.INVOICE_SENDER_EMAIL, settings.ADYEN_NOTIFICATION_RECEIVER, 'Adyen payment authorized', - "An Adyen payment of %s%s with reference %s was authorized on the Adyen platform.\nInvoice: %s\nRecipient name: %s\nRecipient user: %s\nAdyen reference: %s\n" % (settings.CURRENCY_ABBREV, notification.amount, notification.merchantReference, invoice.title, invoice.recipient_name, invoice.recipient_email, notification.pspReference)) + "An Adyen payment of %s%s with reference %s was authorized on the Adyen platform.\nInvoice: %s\nRecipient name: %s\nRecipient user: %s\nPayment method: %s\nAdyen reference: %s\n" % (settings.CURRENCY_ABBREV, notification.amount, notification.merchantReference, invoice.title, invoice.recipient_name, invoice.recipient_email, notification.paymentMethod, notification.pspReference)) except AdyenProcessingException, ex: # Generate an email telling us about this exception! |