I found the answer to this after I found a json validator on google.

The json object I was getting back IS INVALID

it is missing the leading "{" character. 
Add that to the returned object and it parses just fine.
Here's the problem... Either  it's a problem on my end in the receiving, or one 
on apple's end... either way it could get corrected
if that happens then adding the leading "{" will cause a failure and people 
that paid will not get what they paid for.

not sure how to fix this.

On Jun 3, 2011, at 10:37 PM, Development wrote:

> How do you decode the information sent from apple when you verify a receipt?
> 
> 
> I send the data to apple and they send what appears to be a json object back
> however I have tried a bunch of ways to decode the json object and all I get 
> is a null return.
> 
> I'm using a php script for the verify.
> 
> 
> Is there something about the return data that I am 
> missing?_______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/development%40fornextsoft.com
> 
> This email sent to developm...@fornextsoft.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to