Skip to content

Active and Canceled both return true #1791

@Ronan-Lenor

Description

@Ronan-Lenor

Cashier Stripe Version

15.7.1

Laravel Version

11.46.1

PHP Version

8.4.1

Database Driver & Version

No response

Description

that's because when i cancel a test clock, stripe cancel everything. so yeah the subscription don't exists anymore on Stripe and a webhook update the status of the subscription to "canceled". Upto here everything is fine. EXCEPT none of the methods used in valid() do care of that status. not even the canceled() itself 😅

So please, add something that check the status in all the method called by the valid() method.

Steps To Reproduce

server : subscribe something.
stripe : advance a test_clock
stripe : cancel the test_clock
server : retrieve the subscription

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions