Re: inApp Purchases
Re: inApp Purchases
- Subject: Re: inApp Purchases
- From: Development <email@hidden>
- Date: Fri, 03 Jun 2011 23:39:31 -0700
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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden