company_id = $company_id; $company_gateway->user_id = $user_id; $company_gateway->require_billing_address = false; $company_gateway->require_shipping_address = false; $company_gateway->config = encrypt(json_encode(new \stdClass())); $company_gateway->always_show_required_fields = true; return $company_gateway; } }