January 11, 2014

How to get the receipt info of In-App purchase in UDK

It's very simple to get the receipt info (encoded in base64 form) in UDK. However, its not obvious thing if you're trying to find it out from the unreal script code, and there is no word about it on UDN.

This value is hidden in PlatformInterfaceData struct as StringValue2 variable. So, you can simply get it in PurchaseComplete delegate:


So, that's the value you should use to check the purchase validation via AppStore servers.

Cheers!

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.