Bill Meet streaming hourly and storage per GB like Transfer.
Deploy Ladill Meet / deploy (push) Successful in 54s

Wallet debits at session end, on recording/file storage, and via daily renewals with grace period before asset deletion.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-01 16:33:45 +00:00
co-authored by Cursor
parent 13a251250c
commit 59b59cb70e
18 changed files with 749 additions and 96 deletions
@@ -0,0 +1,27 @@
<?php
namespace App\Console\Commands;
use App\Services\Meet\MeetBillingService;
use Illuminate\Console\Command;
class ProcessMeetBillingCommand extends Command
{
protected $signature = 'meet:process-billing';
protected $description = 'Renew monthly Meet recording and file storage billing';
public function handle(MeetBillingService $billing): int
{
$result = $billing->processDueStorageRenewals();
$this->info(sprintf(
'Meet storage billing: %d renewed, %d entered grace, %d deleted.',
$result['renewed'],
$result['graced'],
$result['deleted'],
));
return self::SUCCESS;
}
}