projects
/
pgeu-system.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef7cdab
)
Add support for another type of paypal withdrawals
author
Magnus Hagander
<magnus@hagander.net>
Mon, 4 Dec 2023 14:59:44 +0000
(09:59 -0500)
committer
Magnus Hagander
<magnus@hagander.net>
Mon, 4 Dec 2023 14:59:44 +0000
(09:59 -0500)
Apparently some bank withdrawals are "General Withdrawal - Bank account"
and others are "Withdrawals initiated by user".
postgresqleu/paypal/util.py
patch
|
blob
|
blame
|
history
diff --git
a/postgresqleu/paypal/util.py
b/postgresqleu/paypal/util.py
index 452a0ea5a9af9894c4c8f1f1347cbc29b44f05df..8d28774b466e0d8b3802591f7f8fd4deff4bb4b4 100644
(file)
--- a/
postgresqleu/paypal/util.py
+++ b/
postgresqleu/paypal/util.py
@@
-99,7
+99,7
@@
class PaypalAPI(object):
# General hold and release of general hold. Ignore those.
continue
- if code
== 'T0400'
:
+ if code
in ('T0400', 'T0403')
:
# General withdrawal, doesn't have normal details
r['EMAIL'] = self.pm.config('email')
r['NAME'] = self.pm.config('email')