summaryrefslogtreecommitdiff
path: root/postgresqleu/paypal/util.py
diff options
context:
space:
mode:
authorMagnus Hagander2023-03-22 22:26:35 +0000
committerMagnus Hagander2023-03-22 22:26:35 +0000
commit987fe597ad1cf03d8e019c8fdeb2ac9947c6076e (patch)
tree5c7633a7d91a02f3c4ad45da5c7a4cb6fe71a947 /postgresqleu/paypal/util.py
parentb3867fd6751e722eced869438f088b352db8bd5c (diff)
Another new paypal transaction code
Now a separate code for donations made using a mobile device, as if we'd care...
Diffstat (limited to 'postgresqleu/paypal/util.py')
-rw-r--r--postgresqleu/paypal/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/paypal/util.py b/postgresqleu/paypal/util.py
index 4f39e439..e5de40cd 100644
--- a/postgresqleu/paypal/util.py
+++ b/postgresqleu/paypal/util.py
@@ -158,7 +158,7 @@ class PaypalAPI(object):
if 'fee_amount' in t['transaction_info']:
r['FEEAMT'] = t['transaction_info']['fee_amount']['value']
- if code in ('T0000', 'T0001', 'T0006', 'T0007', 'T0013'):
+ if code in ('T0000', 'T0001', 'T0006', 'T0007', 'T0011', 'T0013'):
if 'item_details' in t['cart_info']:
r['SUBJECT'] = t['cart_info']['item_details'][0]['item_name']
elif 'transaction_note' in t['transaction_info']: