Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

alexmansour's avatar

L5.2 Cashier Check Subscription Status Issue

Hello,

I have a user who subscribed to a Plan with 1 Day Trial then the Payment fails and the Failed Subscriptions webhook has been called and it was successful (The ends_at filled as expected).

The Middleware still returning that the user still subscribed, and follows some more info:

 $request->user()->subscribed('basic') returns 1
 $request->user()->subscribed('basic', 'basic') returns 1 
 $request->user()->subscription('basic')->onTrial() returns 1 
 $request->user()->subscription('basic')->cancelled() returns 1

DB Fields for this user subscription:

trial_ends_at 2016-08-08 13:54:38 UTC
ends_at 2016-08-08 14:56:53 UTC

Until this moment it returns that it's subscribed user.

Please note that I'm running Stripe in Test mode. Any thoughts on this? What I'm doing wrong?

Thank you.

0 likes
1 reply

Please or to participate in this conversation.