title: how to print MerchandiseReturn label with USPS
body: <p>well usps suggest send request xml to </p>
  
  <pre><code>secure.shippingapis.com/ShippingAPI.dll?API=MerchandiseReturnV4&amp;XML=
  </code></pre>
  
  <p>I have tried with the example XML given at </p>
  
  <pre><code>https://www.usps.com/business/web-tools-apis/merchandise-return-service-labels-v10-2a.htm
  
  
  $url="https://secure.shippingapis.com/ShippingAPI.dll";
  $api="API=MerchandiseReturnV4&amp;XML=";
  $ch = curl_init($url);
  curl_setopt($ch, CURLOPT_POST, 1);
  curl_setopt($ch, CURLOPT_POSTFIELDS, $api . $xml);
  curl_setopt($ch, CURLOPT_TIMEOUT, 60);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  
  $result = curl_exec($ch);
  $error = curl_error($ch);
      echo result;
  </code></pre>
  
  <p>but it returning nothing .....</p>