You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The amount of information on this bug report is great!
Having a quick look, it appears to have been caused by commit 4cd2867 which changes the active scope
Bug Report
After upgrading to Pay 7.X the
Subscription.active
scope does not return [Stripe] subscriptions withstatus="active"
and atrial_ends_at
in the past.The subscription looks like this:
The 6.X version of the scope generated this SQL and correctly returns the subscription:
The 7.X version of the scope generates this SQL and does NOT return the subscription
To Reproduce:
status
=active
and atrial_ends_at
in the past (the subscription started as a trial and the user purchased)Subscription.active
and observe that this subscription is not returnedExpected Behavior:
The Subscription should be returned.
Actual Behavior:
The Subscription is not returned.
Environment:
Pay gem version:
7.1.1
Ruby version:
3.2.2
Rails version:
7.0.8
Operating System:
macOS 14.1.1
I have searched for similar issues and couldn't find any
I have checked the documentation for relevant information
I have included all the required information
The text was updated successfully, but these errors were encountered: