diff --git a/lnbits/core/views/callback_api.py b/lnbits/core/views/callback_api.py index d06e9b0a4..f12c29a95 100644 --- a/lnbits/core/views/callback_api.py +++ b/lnbits/core/views/callback_api.py @@ -310,7 +310,7 @@ async def handle_square_event(event: dict): event_type = event.get("type", "") logger.info(f"Handling Square event: '{event_id}'. Type: '{event_type}'.") - if event_type in ("payment.created", "payment.updated"): + if event_type == "payment.updated": await _handle_square_payment_event(event) return