- Home /
Prime31 Storekit purchaseSuccessfulEvent claims to have receipt, but I can't find it. How do I find the receipt?
In the test scene for Prime31's StoreKit plugin, the file StoreKitManager.cs says:
// Fired when a product is successfully paid for. The event will provide a StoreKitTransaction object that holds the productIdentifer and receipt of the purchased product.
public static event Action<StoreKitTransaction> purchaseSuccessfulEvent;
However, in my sandbox, when I purchase a produce. I do not see a receipt.
Here is the out put of my log:
transactionUpdatedEvent: <StoreKitTransaction> ID: store_sealing_stones_enhanced_3, quantity: 1, transactionIdentifier: 1000000112643211, transactionState: Purchased
(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)
productPurchaseAwaitingConfirmationEvent: <StoreKitTransaction> ID: store_sealing_stones_enhanced_3, quantity: 1, transactionIdentifier: 1000000112643211, transactionState: Purchased
(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)
2014-05-30 14:21:19.446 jurojin[3346:60b] finishing transaction: 1000000112643211 : store_sealing_stones_enhanced_3
2014-05-30 14:21:19.447 jurojin[3346:60b] StoreKit: transaction completed: <SKPaymentTransaction: 0x19ae8fd0>
2014-05-30 14:21:19.449 jurojin[3346:60b] finishing transaction: <SKPaymentTransaction: 0x19ae8fd0>
purchaseSuccessfulEvent: <StoreKitTransaction> ID: store_sealing_stones_enhanced_3, quantity: 1, transactionIdentifier: 1000000112643211, transactionState: Purchased
(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)
2014-05-30 14:21:19.832 jurojin[3346:60b] paymentQueue:removedTransaction: <SKPaymentTransaction: 0x19ae8fd0>
Where can I find the receipt?
Comment
Answer by Diamonds · May 30, 2014 at 10:52 PM
I found it, it is in the StoreKitTransaction object, but that object doesn't output it to the log. The key is still there and filled in.