diff options
author | Magnus Hagander | 2023-09-25 12:02:33 +0000 |
---|---|---|
committer | Magnus Hagander | 2023-10-03 15:49:42 +0000 |
commit | c99bedcced51aed1b67b18151bd730b581e27953 (patch) | |
tree | 188413b97bb906f36a9f8428c86df8b404104258 /postgresqleu/paypal/util.py | |
parent | 118ca969e6b1c08079f738e4ddec492f89427b0f (diff) |
Accept T0003 as yet another type of paypal payment code
Diffstat (limited to 'postgresqleu/paypal/util.py')
-rw-r--r-- | postgresqleu/paypal/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/paypal/util.py b/postgresqleu/paypal/util.py index e5de40cd..76b04f08 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', 'T0011', 'T0013'): + if code in ('T0000', 'T0001', 'T0003', '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']: |