add refund and event logic
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Refunds;
|
||||
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class RefundNotificationService
|
||||
{
|
||||
public function notifyPending(int $parentId, float $amount, ?string $portalLink = null): void
|
||||
{
|
||||
Log::info('Refund pending notification queued.', [
|
||||
'parent_id' => $parentId,
|
||||
'amount' => round($amount, 2),
|
||||
'portal_link' => $portalLink,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user