Every time when u try get money for continue subscription you should get callback from provider with user id, amount or subscription id when u can find user. If will be negative just revoke sub from user.
Cashier + BrainTree For Expired Subscriptions
I created an application using a standard Laravel Cashier BrainTree implementation, and I noticed that when a user's subscription ends because their payment method gets declined (such as ending the subscription inside of Paypal rather than through my website), their subscription is never terminated on my end.
It appears that it is an absolute necessity to create some sort of periodic check for users who haven't paid in order to cancel their subscriptions, but I can't seem to locate any consideration of this on the Cashier page. Am I missing something? Is Cashier + Stripe the same way?
The smart way would be to set up a webhook to your website. That way they inform you, not the other way around
https://developers.braintreepayments.com/guides/webhooks/overview
Please or to participate in this conversation.