Name: {name}
Translator since: {translator_since}
From: {from}
Collaboration with you: {collaboration}
{about}
{fieldofexpertise}
 {name}

Nativy Connect

nativy translations
Description Returns the invoice as PDF for the order from nativy.
The invoice is available as soon as the order has been completed. If you try to receive the invoice before the order is completed you'll get a HTTP 404 Not found response.
URL /connect/order/{orderid}/invoice

Parameters
api_key (required) string The public API key of the user. (Details: Authentication )
timestamp (required) string The current UTC timestamp (seconds from 1/1/1970 until UTC now). (Details: Authentication )
api_sign (required) string The timestamp encoded with HMAC SHA1 in use of the private key. (Details: Authentication )
orderid (required) string The unique id of the order (GUID transformed string).

Example call

                $url = 'http://www.nativytest.com/connect/order';
        	    $api_key = 'iQU5lBuE4VFMx2EU2o>Ap*u02K^Bmie3d}pg-pU^MZ&%mobYM&x7SHY+41u7PHEh';
        	    $private_key = '4i2j_F|=lUqNmxEMxtxsX-veXJ)i+w(4q[_J&(r{Pn[jyT&)2t*Usp3K%B_jv{tP';
        	    $timestamp = gmdate('U');
	            $hmac = hash_hmac('sha1', $timestamp, $private_key); 
	            $orderid = '3DE3FADD-7624-4AD4-9D79-F629DBA27BA6';
	        
	            $url = $url 
	        		    . '/' . $orderid . '/invoice'
	        		    . '?api_key=' . urlencode($api_key) 
	        		    . '&api_sign=' . urlencode($hmac) 
	        		    . '×tamp=' . urlencode($timestamp);

	            $ch = curl_init($url); 
	        
	            curl_setopt($ch, CURLOPT_URL, $url); 
	            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
	            curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
	            $response = curl_exec($ch);
	            curl_close($ch);

        	    echo ($response); // save and display PDF here...