mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix syntax error
This commit is contained in:
parent
3e9dd7d8d1
commit
059a23b612
@ -853,7 +853,7 @@ class PaymentController extends BaseController
|
||||
}
|
||||
|
||||
if ($eventType == 'charge.failed') {
|
||||
if (!$payment->isFailed() {
|
||||
if (!$payment->isFailed()) {
|
||||
$payment->markFailed($charge['failure_message']);
|
||||
$this->userMailer->sendNotification($payment->user, $payment->invoice, 'payment_failed', $payment);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user