Exploring the vendor folder can lead to some clever coding discoveries! 🌟
Just found out you can call Stripe directly like this:
$user->stripe()->paymentIntents
This trick is tucked away in the Billable trait via static::stripe(), leading to Cashier's stripe() method.
Back