Add Purchases PayPal category match
This commit is contained in:
parent
61c263151f
commit
56b287ba78
|
@ -354,7 +354,7 @@ def process_paypal_ipn(data):
|
||||||
defaults=dict(user=user),
|
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')
|
logger.info('IPN - Category matched')
|
||||||
update_ipn(ipn, 'Accepted, category')
|
update_ipn(ipn, 'Accepted, category')
|
||||||
return create_category_tx(data, member, custom_json)
|
return create_category_tx(data, member, custom_json)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user