company_id = $company_id; $payment->user_id = $user_id; $payment->client_id = 0; $payment->client_contact_id = null; $payment->invitation_id = null; $payment->account_gateway_id = null; $payment->payment_type_id = null; $payment->is_deleted = false; $payment->amount = 0; $payment->payment_date = Carbon::now()->format('Y-m-d'); $payment->transaction_reference = null; $payment->payer_id = null; $payment->status_id = Payment::STATUS_PENDING; return $payment; } }