65, 'csr' => $csr, 'server_count' => "-1", 'period' => 3, 'approver_email' => "admin@domain.tld", 'webserver_type' => "1", 'admin_firstname' => "John", 'admin_lastname' => "Silver", 'admin_phone' => "003719999999", 'admin_title' => "Mr", 'admin_email' => "webmaster@domain.tld", 'tech_firstname' => "John", 'tech_lastname' => "Silver", 'tech_phone' => "003719999999", 'tech_title' => "Mr", 'tech_email' => "webmaster@domain.tld", //'dns_names' => "domain.tld,domain2.tld,domani3.tld", 'org_name' => "Some Company", 'org_division' => "Hosting", 'org_addressline1' => "Street 123", 'org_city' => "Riga", 'org_country' => "LV", 'org_phone' => "3799999999", 'org_postalcode' => "LV-1056", 'org_region' => "None", 'dcv_method' => "dns", 'only_validate' => true // <-- Remove to place a real order ]; try { $apiClient = new GoGetSSLApi(); $token = $apiClient->auth(GOGETSSL_API_USER, GOGETSSL_API_PASS); $newOrder = $apiClient->addSSLOrder($data); print_r($newOrder); } catch (Exception $e) { printf("%s: %s", get_class($e), $e->getMessage()); }