• 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
SKPaymentTransaction has no receiptData property for Mac In App Purchase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SKPaymentTransaction has no receiptData property for Mac In App Purchase


  • Subject: SKPaymentTransaction has no receiptData property for Mac In App Purchase
  • From: XiaoGang Li <email@hidden>
  • Date: Fri, 19 Aug 2011 18:08:28 +0800

Hello List,

I have a question about the Mac In App Purchase. After reading the <<In App
Purchase Programming Guide>> and also other reference document via Google, I
found this guide is mainly focus on the iOS platform, actually, no one can
tell me what’s the difference of the StoreKit.framework on Mac and iOS. My
question is about the verifying Store Receipts, the document says that I can
retrieve the receipt data from the transaction’s transactionReceipt
property, but seems the SKPaymentTransaction have no such property for the
StoreKit.framework on Lion. Does anyone know how to retrieve the receipt
data after finished the transaction?

http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/VerifyingStoreReceipts/VerifyingStoreReceipts.html#//apple_ref/doc/uid/TP40008267-CH104-SW1



After reading the document

http://developer.apple.com/library/mac/#releasenotes/General/ValidateAppStoreReceipt/_index.html#//apple_ref/doc/uid/TP40010573

I found that the In App Purchase receipt data is inserted to the original
receipt data file, which is generated after installed from App Store. That’s
to say, there really has an In App Purchase receipt returned from app store,
but I can not get it by following the guide < In App Purchase Programming
Guide >.



Thanks ahead if any one can point out my mistake. I am sure that there is no
receipt data property, please take a look at the head file here:

/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/StoreKit.framework/Versions/A/Headers/SKPaymentTransaction.h


Thanks, XiaoGang.
_______________________________________________

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

  • Prev by Date: Re: NSCache objects not being collected under GC?
  • Next by Date: Re: Noob question about .a files
  • Previous by thread: Re: Strange NSFileManager file replacement issue
  • Next by thread: NSData & Mime Types...
  • Index(es):
    • Date
    • Thread