Skip to content

Commit

Permalink
Add support for another type of paypal withdrawals
Browse files Browse the repository at this point in the history
Apparently some bank withdrawals are "General Withdrawal - Bank account"
and others are "Withdrawals initiated by user".
  • Loading branch information
mhagander committed Dec 4, 2023
1 parent ef7cdab commit e2df30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgresqleu/paypal/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def get_transaction_list(self, startdate):
# 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')
Expand Down

0 comments on commit e2df30e

Please sign in to comment.