title: iOS + PHP - Extracting sum of money from Apple IAP
body: <p>I am developing an iOS app that uses Apple's in-app purchase service.
  I am also developing a PHP backend service that, upon purchase, receives the encoded receipt string, validates it with Apple's validation servers, and saves the purchase record in the DB.</p>
  
  <p>I would like to know, from the server side, either the product's price, or the sum of money that the user has actually paid for the product.</p>
  
  <p>I prefer to get the result in USD, but any currency would be great as long as I have a way of knowing which currency it is (i.e. currency symbol as part of the string) so I can convert it.</p>
  
  <p>The JSON object that returns from the validation doesn't contain the sum of money that has been paid in the transaction, or the product's price. Is there any way of getting this information from the receipt string only? Or perhaps from the product ID or transaction ID (both can be extracted from the receipt)? Or does this information have to be supplied by the app?</p>
  
  <p>Thanks!!</p>