Closed andrewfairlie closed 1 week ago
Hi, thanks for getting in touch.
The getStripeSubscriptions()
method returns a collection, so if you want to filter the results by their Stripe status, you can do so via:
{% set subscriptions = currentUser.getStripeSubscriptions().where('stripeStatus', 'active').all() %}
I hope this helps!
I would expect
To show their active subscriptions, but it shows their cancelled status ones too.
Is there a way to request this, or would it be custom PHP to query it?