Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix active scope for when a trial_ends_at is in the past #940

Closed
wants to merge 1 commit into from

Conversation

deanpcmad
Copy link
Contributor

Fixes #939

This bug was introduced in 4cd2867 as it changed the way the active scope worked.

I've tested it in a Pay test app I have running and it fixes the bug, however 2 Braintree tests are failing so they may need tweaking.

@excid3
Copy link
Collaborator

excid3 commented Jan 18, 2024

It's possible the Braintree code/test is buggy. Their API is a pain. Will try and look into it as well soon.

@excid3 excid3 closed this in 1673cfe Feb 27, 2024
@deanpcmad deanpcmad deleted the issue-939 branch August 7, 2024 11:34
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.

[BUG] Subscription.active does not return subscriptions with status="active" and trial_ends_at is in the past
2 participants