Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by infinitypbr · Jan 09, 2013 at 06:39 AM · prime31storekit

Prime31 StoreKit Question

I'm trying to find out how to tell if a customer makes a NEW purchase or is doing a RESTORE purchase. I use Prime31's StoreKit plugin, and so far they've not provided any solutions aside from using the unique device ID, which doesn't actually solve the problem since users on my app can purchase on one device and then restore on another. (I'm paying royalties per download to some artists, and would prefer to make it all automated and not have to look up sales figures each month)

Can anyone think of a way?

Unfortunately, if I'm not mistaken, it seems that with the plugin / apple, a "restore" call simply returns a "successful sale", without any way to tell if the "sale" was new or not.

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image juicymangoz · Apr 30, 2013 at 06:30 AM 0
Share

Late response - but did you work this out?

What kind of In-game purchasables have you set up on the Apple side (e.g. are they consumable or non-consumable, subscription etc)

So you're saying what you want is that one person downloads an item onto their phone, if they delete their app on the phone or install the app on another device (iPad), you want them to pay for the item again rather than be able to restore the purchase? If so, just make it a consumable product, not non-consumable.

avatar image Fattie · Apr 30, 2013 at 06:34 AM 0
Share

Hey SFB

THis is the "dirty little secret" of doing IAP in app purchases.

In fact you must use your server to check that transactions are unique. It's just one of those weird things - you never or rarely see this mentioned on forums.

Apple have pages of documentation explaining that, these days, your server must confirm the receipt for you. But they never even mention in passing "oh it's up to your server to assure receipts are only being used once."

Your use case (across devices, installs, etc) is just a more complex version.

The fact is it all has to be done on your servers, using a database and lots of code etc.

The issue is unrelated to Prime31 - their plugins work great. the sad fact is you have to do all you say using your servers.

avatar image infinitypbr · Apr 30, 2013 at 09:22 AM 0
Share

Basically I'm just checking the server vs. Apple's logs, and making manual adjustments. Even confir$$anonymous$$g the receipts on my server doesn't allow for differentiating between a new and a restore purchase, unfortunately.

avatar image Fattie · Apr 30, 2013 at 09:32 AM 0
Share

Correct, depending on exactly what you mean -- there is absolutely no solution.

Note that if your users $$anonymous$$UST LOGIN WITH YOU (you know, like "Join the Disney club - give us a username and pass") ... of course then you can solve the problem.

I can absolutely confirm your intuitiion that (in a word) it is not possible to do what you say.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Problem with Prime31's StoreKit implementation 0 Answers

Prime31 storekit find product ID but not product description 0 Answers

How to unlock iphone game using prime31 storkit plugin? 0 Answers

PlayerPrefs to Unlock Object question 1 Answer

Prime31 StoreKit: How to restore multiple purchases? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges