originalReceipt always seem to return nil (even for restore)

Have anyone else observed this? It appears that the originalReceipt parameter is always nil, even when restoring a purchase. This is even true for iOS. Has anyone else observed this? I have tried this with both non-consumables and auto-renew subscriptions.

The reason this is important is that we are working on auto-renew subscription (without use of server), and my understanding is that we need to get the originalReceipt in order to validate it.

Attached are 2 traces, one from the original purchase, another from the restore… This is an auto-renewed subscription product.

Purchase:

Oct 16 22:50:57 Andrew-Kaos-iPod PUZZINGO[44264] <warning>: DEBUG: IAPUtil transactionCallback: Received event storeTransaction<br>Oct 16 22:50:57 Andrew-Kaos-iPod PUZZINGO[44264] <warning>: DEBUG: txn.state purchased<br>Oct 16 22:50:57 Andrew-Kaos-iPod PUZZINGO[44264] <warning>: DEBUG: txn.date 2012-10-17 05:50:55 +0000<br>Oct 16 22:50:57 Andrew-Kaos-iPod PUZZINGO[44264] <warning>: DEBUG: txn.identifier 1000000057216019<br>Oct 16 22:50:57 Andrew-Kaos-iPod PUZZINGO[44264] <warning>: DEBUG: txn.productIdentifier com.77sparx.puzzingosubscription.3.testsub<br>Oct 16 22:50:57 Andrew-Kaos-iPod PUZZINGO[44264] <warning>: DEBUG: txn.receipt &lt;7b0a0922 ... 22203d20 2230223b 0a7d&gt;<br>Oct 16 22:50:57 Andrew-Kaos-iPod PUZZINGO[44264] <warning>: DEBUG: txn.originalDate: nil<br>Oct 16 22:50:57 Andrew-Kaos-iPod PUZZINGO[44264] <warning>: DEBUG: txn.originalID nil<br>Oct 16 22:50:57 Andrew-Kaos-iPod PUZZINGO[44264] <warning>: DEBUG: txn.originalReceipt nil<br>Oct 16 22:50:57 Andrew-Kaos-iPod PUZZINGO[44264] <warning>: DEBUG: txn.errorType none<br>Oct 16 22:50:57 Andrew-Kaos-iPod PUZZINGO[44264] <warning>: DEBUG: txn.errorString nil<br>

Restore
<br>Oct 16 22:59:57 Andrew-Kaos-iPod PUZZINGO[44335] <warning>: DEBUG: IAPUtil transactionCallback: Received event storeTransaction<br>Oct 16 22:59:57 Andrew-Kaos-iPod PUZZINGO[44335] <warning>: DEBUG: txn.state restored<br>Oct 16 22:59:57 Andrew-Kaos-iPod PUZZINGO[44335] <warning>: DEBUG: txn.date 2012-10-17 05:50:55 +0000<br>Oct 16 22:59:57 Andrew-Kaos-iPod PUZZINGO[44335] <warning>: DEBUG: txn.identifier 1000000057216534<br>Oct 16 22:59:57 Andrew-Kaos-iPod PUZZINGO[44335] <warning>: DEBUG: txn.productIdentifier com.77sparx.puzzingosubscription.3.testsub<br>Oct 16 22:59:57 Andrew-Kaos-iPod PUZZINGO[44335] <warning>: DEBUG: txn.receipt &lt;7b0a0922 ... 61747573 22203d20 2230223b 0a7d&gt;<br>Oct 16 22:59:57 Andrew-Kaos-iPod PUZZINGO[44335] <warning>: DEBUG: txn.originalDate: 2012-10-17 05:50:56 +0000<br>Oct 16 22:59:57 Andrew-Kaos-iPod PUZZINGO[44335] <warning>: DEBUG: txn.originalID 1000000057216019<br>Oct 16 22:59:57 Andrew-Kaos-iPod PUZZINGO[44335] <warning>: DEBUG: txn.originalReceipt nil<br>Oct 16 22:59:57 Andrew-Kaos-iPod PUZZINGO[44335] <warning>: DEBUG: txn.errorType none<br>Oct 16 22:59:57 Andrew-Kaos-iPod PUZZINGO[44335] <warning>: DEBUG: txn.errorString nil<br> [import]uid: 41124 topic_id: 32051 reply_id: 332051[/import]

I just tested this and I am getting Nil on both originalReceipt and originalIdentifier - in both cases.

But I am getting the receipt and it is the same both times. I guess that you should use the complete receipt instead. It could maybe be a fact that we are running in Apple’s sandbox, I am not sure?
Joakim
[import]uid: 81188 topic_id: 32051 reply_id: 127714[/import]

I just tested this and I am getting Nil on both originalReceipt and originalIdentifier - in both cases.

But I am getting the receipt and it is the same both times. I guess that you should use the complete receipt instead. It could maybe be a fact that we are running in Apple’s sandbox, I am not sure?
Joakim
[import]uid: 81188 topic_id: 32051 reply_id: 127714[/import]