public function markComplete() { $this->payment_status_id = PAYMENT_STATUS_COMPLETED; $this->save(); Event::fire(new PaymentCompleted($this)); }