From c99bedcced51aed1b67b18151bd730b581e27953 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Mon, 25 Sep 2023 14:02:33 +0200 Subject: Accept T0003 as yet another type of paypal payment code --- postgresqleu/paypal/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']: -- cgit v1.2.3