diff donations/views.py @ 1185:8ec03abf16c1

Part of the last commit. :(
author Brian Neal <bgneal@gmail.com>
date Sun, 17 Oct 2021 15:07:54 -0500
parents fbfb1a9c70e2
children
line wrap: on
line diff
--- a/donations/views.py	Sun Oct 17 14:40:53 2021 -0500
+++ b/donations/views.py	Sun Oct 17 15:07:54 2021 -0500
@@ -158,7 +158,7 @@
 
     # Is the email address ours?
     business = params.get('business')
-    if business != paypal_params()[1]:
+    if business not in paypal_params()[1]:
         logging.warning('IPN: invalid business: %s', business)
         return