Remove hardcoded PGEU prefix from Adyen and Paypal refunds
authorMagnus Hagander <magnus@hagander.net>
Tue, 27 Nov 2018 13:35:31 +0000 (14:35 +0100)
committerMagnus Hagander <magnus@hagander.net>
Tue, 27 Nov 2018 13:41:58 +0000 (14:41 +0100)
commit2c2f94892b3c9069b2f2ac239b25174b192962fe
tree2c045e8728ddcde7b56d4d4050c738335b6e8513
parent3da97cf1c61aa73ea035f8901b21c4f14f40d213
Remove hardcoded PGEU prefix from Adyen and Paypal refunds

We already had the payment references in a parameter, but for some
reason not the refunds.

In passing, add ORG_SHORT_NAME to the settings and org_short_name to the
context on all pages, to make it easier to do this in the future.
postgresqleu/adyen/util.py
postgresqleu/paypal/management/commands/paypal_match.py
postgresqleu/paypal/management/commands/refund_paypal_transaction.py
postgresqleu/settings.py
postgresqleu/util/context_processors.py
postgresqleu/util/payment/paypal.py