company_key); $this->company_gateway = CompanyGateway::withTrashed()->find($this->company_gateway_id); // if(!isset($this->webhook_array['type'])) // nlog("Checkout Webhook type not set"); // match($this->webhook_array['type']){ // 'payment_approved' => $this->paymentApproved(), // }; } }