title: Android Billing-in App version 3 verify in server
body: <p>I build Android app with billing-in app(version 3). I want verify purchase in my server PHP with openssl_verify().
  I neet four values:
  $data, $signature, $public_key and $SIGNATURE_ALGORITHM. <a href="https://code.google.com/p/android-market-license-verification/" rel="nofollow">I found a solution here</a>, but it not understand to me in what form should be $data?
  I get responseData in Android app:</p>
  
  <p>'{<br> 
     "orderId":"12999763169054705758.1371079406387615",<br> 
     "packageName":"com.example.app",<br>
     "productId":"exampleSku",<br>
     "purchaseTime":1345678900000,<br>
     "purchaseState":0,<br>
     "developerPayload":"bGoa+V7g/yqDXvKRqq+JTFn4uQZbPiQJo4pf9RzJ",<br>
     "purchaseToken":"rojeslcdyyiapnqcynkjyyjh"<br>
   }'</p>
  
  <p>I have signature from app.
  How do I need to convert string so I can use it in the function php openssl_verify()?<br>
  Thanks.</p>