Skip to content

fix: gate past_due IsPro on SubscriptionExpiresAt (apn-0d1oa.11)#440

Merged
paulvanbrenk merged 2 commits intomainfrom
merge/apn-0d1oa.11
Feb 26, 2026
Merged

fix: gate past_due IsPro on SubscriptionExpiresAt (apn-0d1oa.11)#440
paulvanbrenk merged 2 commits intomainfrom
merge/apn-0d1oa.11

Conversation

@paulvanbrenk
Copy link
Collaborator

Summary

  • Fixes P1 bug: past_due subscription status was granting unlimited Pro access
  • Gates IsPro on SubscriptionExpiresAt so past_due users lose Pro access when their subscription lapses

Issue

Closes apn-0d1oa.11

Test plan

  • 433/433 tests pass (dotnet test PatchNotes.slnx, includes 8 new tests)

🤖 Merged by Refinery (ai_patch_notes merge queue processor)

past_due was granting Pro access indefinitely with no time bound.
Now it checks SubscriptionExpiresAt > UtcNow, matching the canceled behavior.
Adds UserTests covering all IsPro status/expiry combinations.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@paulvanbrenk paulvanbrenk merged commit 8527026 into main Feb 26, 2026
4 checks passed
@paulvanbrenk paulvanbrenk deleted the merge/apn-0d1oa.11 branch February 26, 2026 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant