65, 'csr' => $csr, 'server_count' => "-1", 'period' => 3, 'approver_email' => "admin@test.itriga.lv", 'webserver_type' => "1", 'admin_firstname' => "Aleksander", 'admin_lastname' => "Andrijenko", 'admin_phone' => "0037128216269", 'admin_title' => "Mr", 'admin_email' => "admin@test.itriga.lv", 'tech_firstname' => "Aleksander", 'tech_lastname' => "Andrijenko", 'tech_phone' => "0037128216269", 'tech_title' => "Mr", 'tech_email' => "admin@test.itriga.lv", //'dns_names' => "domain.lv,domain2.lv,domani3.lv", 'org_name' => "AlexoMedia", 'org_division' => "Hosting", 'org_addressline1' => "Valdeku street 55", 'org_city' => "Riga", 'org_country' => "LV", 'org_phone' => "37128216269", '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()); }