Unity IAP Store Guides - Amazon, Apple, Google Play, Windows

To help illustrate connecting existing app stores with your games via the new Unity IAP feature in 5.3 (reference, manual) we are publishing a series of Store Guides. They walk through an interaction with the Store’s web portal, registering essential Application details, defining your in-app purchase Product, and testing game-to-store product purchase connectivity.

Guides available now cover the following stores:

Nick, Unity IAP / Analytics
(Updated Apr 18, 2016)

10 Likes

Hi @nicholasr , great news and good job !!!

I got one question for you, what I want to achieve if it’s possible, can I send to Unity Analytics.Transaction extra info via string ? E.G:

Analytics.Transaction("12345abcde", 0.99m, "USD", null, null "extraINFO");

Thanks in advance !

The recognition is appreciated @RoyalCoder , thanks!

There is a way to do this with Analytics.CustomEvent. Send similar transaction data as a CustomEvent and include the string of extra info as an additional parameter there. One could then Build a Segment of users who bought a specific game item, also querying the “extraINFO” parameter/value as desired.

Analytics’ Transaction API is designed mainly to give revenue reports and access to receipt verification. Note that Analytics.Transaction is already called for every product transaction when using Unity IAP.

2 Likes

@nicholasr thanks for your quick reply :wink:

The purpose of extra info in my case is a tag for every real in app purchase in my game, can I use receipt or signature for adding my tag for purchases ?

If I do’it via Analytics.CustomEvent can I add to the custom event the real price, taxes, or other info to be send’it on Unity Anaytics ?
Thanks !

Thank you for great work. I’m thinking to use this on my game.

I have an question about security. Does Unity IAP have some security system for purchasing?
I have a hard time, because some people overuse purchasing items in my game, so I need to use server to prohibit overusing it.
If Unity IAP has some security system for this situation, I would like to use it!

Does Unity IAP have some security system for purchase?

Thank you in advance.

@RoyalCoder I see - “tag” makes sense :slight_smile:

And yes the price, and other product / purchase info can be added to a CustomEvent. It’s supports a key-value dictionary for including any data fields you need to use when tagging this purchase.

The receipt and signature fields of Transaction can be used to view receipt verification analytic reports (http://docs.unity3d.com/Manual/UnityAnalyticsReceiptVerification.html) when you desire it.

@buyrusdesign Cool, thanks very much!

We are working on a new feature: client-side receipt verification. This will enable developers to determine if a user makes a purchase from an untrusted app store. Then a game can decline to provide the service it would otherwise have unlocked. The feature is still being worked on, and once complete we think it will be a useful addition.

I am guessing the overuse of purchased items currently detected by comparing the sum of Transaction events versus verified income. Is my guess wrong?

1 Like

Any new about trusted purchases?
And, its a way to implement inapp with Amazon Store?

@IndieFist Thank you for expressing interest in the upcoming client-side receipt validation feature! I am encouraged to know it will be used. While there is no additional news to share yet, an announcement will be made on the forum when the feature is generally available.

Regarding our Amazon Store IAP implementation, it is on our roadmap but I cannot say when it will be officially released.

1 Like

Thank you very much.
Amazon maybe more interesting than windows store at this moment?

@IndieFist :slight_smile: Yes we are seeing, through various channels, a significant number of requests for Amazon!

1 Like

hi, nicholar:
to use unity analytics, do i need to buy unity subscription?
since i cannot see any unity service in free account.

thanks,

1 Like

All unity Service become with the free version of unity 5.3

1 Like

is there a time frame on windows store IL2CPP support?

@AVOlight_1 Windows IL2CPP support is unlikely to arrive before 3-5 months time; for now IL2CPP remains experimental on Windows phone/store.

More: [Solved] Unity IAP on Windows Store - Unity Services - Unity Discussions

1 Like

@nicholasr Thank you for the info

1 Like

@Wentao I agree with @IndieFist - we anticipate always offering a free version of Analytics. Is this what you need to know?

1 Like

How can i get info on analytic for separates stores? I got published our game on android and ios, for unity ads, we have two tab for each market, but on analytic?
Well i just found it. Sorry :stuck_out_tongue:

so is there an rss for Unity IAP updates ? or something

@AVOlight_1 Sorry to say a condensed RSS (e.g.) is not available at this time.

However, for the code, we are looking into an IAP Plugin update mechanism. And for updates of a more textual nature, “watching” this Forum is possible (navigate back to the forum index and find ‘watch forum’) which for your interest “IL2CPP Windows IAP” I speculate would be spammy unless aggressively filtered by your email system for just those keywords. I would anticipate an announcement of this new support be made on this forum once available.

1 Like