Handle Cancellation Webhook Event
This commit is contained in:
parent
5b5213de93
commit
53f38d8cb7
1 changed files with 2 additions and 0 deletions
|
|
@ -57,6 +57,8 @@ class HandleCancellation extends AbstractService
|
|||
|
||||
event(new InvoiceWasCancelled($this->invoice, $this->invoice->company, Ninja::eventVars(auth()->user() ? auth()->user()->id : null)));
|
||||
|
||||
event('eloquent.updated: App\Models\Invoice', $this->invoice);
|
||||
|
||||
$transaction = [
|
||||
'invoice' => $this->invoice->transaction_event(),
|
||||
'payment' => [],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue