mollie / laravel-cashier-mollie

Official Mollie integration for Laravel Cashier
https://www.cashiermollie.com/
MIT License
136 stars 44 forks source link

Getter for if a user is subscribed #261

Closed ignaciocunado closed 1 month ago

ignaciocunado commented 1 month ago

It would be nice to have a getter on the Billable trait that returns true if a user is subscribed (to anything). Similar to

public function subscribed($subscription = 'default', $plan = null)

but it would return true if a user has any active subscription.

sandervanhooft commented 1 month ago

Hi @ignaciocunado ,

Thanks for this ticket. I agree with the use case, not sure about the implementation yet. We'll look into it.

ignaciocunado commented 1 month ago

Thanks. Do let me know if you would like me to change something.