Checkouts from the other site on this Stripe account have no local subscription. The webhook already returned 200 for those; it now logs the ignore.
A non-numeric local_subscription_id no longer crashes the lookup.
Test plan
uv run python company_site/manage.py test financial.tests.InvoiceAccessTests.test_webhook_ignores_checkout_from_other_site
A checkout that matches a local subscription still marks it active.
An unrelated checkout posted to the company webhook returns 200.
## Summary
- Checkouts from the other site on this Stripe account have no local subscription. The webhook already returned 200 for those; it now logs the ignore.
- A non-numeric `local_subscription_id` no longer crashes the lookup.
## Test plan
- [ ] `uv run python company_site/manage.py test financial.tests.InvoiceAccessTests.test_webhook_ignores_checkout_from_other_site`
- [ ] A checkout that matches a local subscription still marks it active.
- [ ] An unrelated checkout posted to the company webhook returns 200.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
local_subscription_idno longer crashes the lookup.Test plan
uv run python company_site/manage.py test financial.tests.InvoiceAccessTests.test_webhook_ignores_checkout_from_other_site