Notify transfer owners when files enter grace period.
Deploy Ladill Transfer / deploy (push) Successful in 1m0s

Send grace-entered and countdown emails to owners alongside recipient grace milestones so unpaid transfers get clear wallet top-up reminders before deletion.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-08 12:44:38 +00:00
co-authored by Cursor
parent 7c4673adb6
commit c53191a41b
13 changed files with 372 additions and 4 deletions
@@ -103,7 +103,9 @@ class TransferBillingService
'expires_at' => $graceEndsAt,
]);
app(TransferRecipientMailService::class)->notifyRecipient($transfer->fresh(), 'grace');
$transfer = $transfer->fresh(['user', 'files', 'qrCode']);
app(TransferRecipientMailService::class)->notifyRecipient($transfer, 'grace');
app(TransferOwnerMailService::class)->notifyGraceEntered($transfer);
}
public function processDueRenewals(): array