diff --git a/app/Listeners/Document/SendDocumentPaymentNotification.php b/app/Listeners/Document/SendDocumentPaymentNotification.php index e61b80bbe..e144dbed5 100644 --- a/app/Listeners/Document/SendDocumentPaymentNotification.php +++ b/app/Listeners/Document/SendDocumentPaymentNotification.php @@ -19,6 +19,10 @@ class SendDocumentPaymentNotification return; } + if (!empty($event->request['mark_paid'])) { + return; + } + $document = $event->document; $transaction = $document->transactions()->latest()->first();