• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: inApp Purchases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: inApp Purchases
      • From: John Joyce <email@hidden>
References: 
 >inApp Purchases (From: Development <email@hidden>)

  • Prev by Date: Re: Good and updated book for iPhone development
  • Next by Date: Subclassing UItextview
  • Previous by thread: inApp Purchases
  • Next by thread: Re: inApp Purchases
  • Index(es):
    • Date
    • Thread