Fixes for google analytics
This commit is contained in:
parent
59c9287ec5
commit
df42c16be7
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ class PaymentNotification implements ShouldQueue
|
|||
private function trackRevenue($event)
|
||||
{
|
||||
$payment = $event->payment;
|
||||
$invoice = $payment->invoice;
|
||||
$invoice = $payment->invoices()->exists() ? $payment->invoices->first() : false;
|
||||
$company = $payment->company;
|
||||
|
||||
$analytics_id = $company->google_analytics_key;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue