Checks
Stripe Key Check
Overview
This check looks to see if your application is using Cashier by looking for a config file. If found, it will then check the cashier config for the presence of test in the secret or app keys.
Using this check
You can update your FireTowerServiceProvider class to include the check and any options.
<?php
//...
class FireTowerServiceProvider extends ServiceProvider
{
public function boot(): void
{
//...
FireTower::checks(function () {
return [
//...
StripeKeyCheck::check(),
];
});
}
}