Add Purchases PayPal category match

This commit is contained in:
Tanner Collin 2022-07-12 04:16:29 +00:00
parent 61c263151f
commit 56b287ba78

View File

@ -354,7 +354,7 @@ def process_paypal_ipn(data):
defaults=dict(user=user),
)
if custom_json.get('category', False) in ['Snacks', 'OnAcct', 'Donation', 'Consumables']:
if custom_json.get('category', False) in ['Snacks', 'OnAcct', 'Donation', 'Consumables', 'Purchases']:
logger.info('IPN - Category matched')
update_ipn(ipn, 'Accepted, category')
return create_category_tx(data, member, custom_json)