payment->user; // create invoice using the trait $this->createInvoice($user, $event->payment); } } }