diff --git a/Changelog.md b/Changelog.md index aa2c00a7ecdc20c1f4960d559cf1f22f00c972be..8d2df26a31e4c7fc2d99744c92cc44c96f0f03a7 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. + +## [0.18] - 2025-0-15 + - Do not consider visitors that have paid in the daily error report + ## [0.17] - 2025-04-22 - Introduce ERROR_REPORT_IGNORE_REGISTRATION_TYPES setting to configure error report ignore list diff --git a/setup.py b/setup.py index 00cccd0336a320e2a227b2f2f182406c06f76176..2b4760941fb00205853bc29af0695ab9111265bf 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name="stripe-checkout", - version="0.17", + version="0.18", author="GEANT", author_email="swd@geant.org", description="Stripe custom checkout support service", diff --git a/stripe_checkout/stripe_checkout/compare_visit_stripe.py b/stripe_checkout/stripe_checkout/compare_visit_stripe.py index 3e52b5fb5130aa0420d7ddad1b0935e2c50b9006..558e18fa42d34ba860f44d8de3f5dfcdaee320bd 100644 --- a/stripe_checkout/stripe_checkout/compare_visit_stripe.py +++ b/stripe_checkout/stripe_checkout/compare_visit_stripe.py @@ -66,6 +66,8 @@ class PossibleErrorReporter(CSVReporter): @staticmethod def _is_suspect(obj: dict, ignore_registration_types: Collection[str]): + if obj['Paid']: + return False if obj["Registration Type"] in ignore_registration_types: return False return obj["Invoice Count"] != 1