title: iphone in app purchase "Cannot connect to iTunes Store"
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2359739/iphone-store-kit-cannot-connect-to-itunes-store">iPhone Store Kit “Cannot connect to iTunes Store”</a>  </p>
  </blockquote>
  
  
  
  <p>i am implementing in app purchase when i requesting the payment am getting bellow error.</p>
  
  <p>Transaction Error: Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" UserInfo=0x2dcf40 {NSLocalizedDescription=Cannot connect to iTunes Store}</p>
  
  <p>Here some times the error code will be 1004. so i cant do the transaction.</p>
  
  <p>in some times it displaying a warning like " has failed the purchase process." ,but still the purchase process is working fine..</p>
  
  <p>am i doing something wrong... or any solution for this problem..?</p>
  
  <p>Thanks</p>