Hello Developer Community,
please let me know what you would think is the best idea to solve the problem, that one item cannot be sold multiple times if it is non-consuming.
Background: We have a product like dropbox. You can buy packages with space e.g.:
Package 1: 100 MB Package 2: 200 MB Package 3: 300 MB
Every package is for 1 year valid.
3 month before the package ends, it should be possible for the customer to buy the same package for the next 365 days or in other words extend the bought package für one more year.
Example: A user buys the package 100 MB on January 1st. On October 1st he can open the store inside the app and sees again the same 300 products:
Package 1: 100 MB Package 2: 200 MB Package 3: 300 MB
Problem: It is non-consumable, so you can buy one item only once. Should I now do some (dirty :-)) tricks like I put different product identifiers for the same thing but another year?
100MbFirstYear 200MbFirstYear 300MbFirstYear
100MbSecondYear 200MbSecondYear 300MbSecondYear
Questions: 1.) What is the best approach to do this? 2.) How should I name the product Ids?
Best regards Fipsi
Why didn't you use subscription IAP
Check this tutorials on how to use it In-App Purchases: Non-Renewing Subscription Tutorial