Post

Replies

Boosts

Views

Activity

Reply to In app purchase
Thanks for your reply, I can get a receipt from the sandbox on App Store, using my productID say com.myproduct.IAP, if make an in app purchase, this will be picked by a transaction listener, which is fine using StoreKit 2, which is fine. But I can't figure out how to get a receipt for my app which is at moment paid, which will have an IAP method, doesn't there have to be an original product ID to get this, or does the apple sandbox not provide an initial receipt? This part I am stuck on. Thanks Jeff
Jul ’22
Reply to In app purchase
Hello endecoup, I have a paid app, and wish to migrate it and existing users to IAP, So I want to get original install date, or original purchase date, or original build number/version, I was of the understating that apple creates a receipt for all apps regardless of being PAID, or Free with IAP. So that I can determine whether test trial period, or for users that have the original Paid APP, to let it continue as previous normal. Jeff
Jul ’22
Reply to In app purchase
Hello endecoup, yes this is what I trying to do, how can I test my code, this seems to be a flaw. I am considering setting IAP to 0.00, for a period of time, and getting existing users to get an IAP receipt, and a period of time flip from x.xx paid price to 0.00 and IAP price to x.xx I would prefer getting a production receipt method, but if that method worked what productID would I use? to get this original purchase receipt. I would be interested to know how others test their code, in sand box. But thanks for your input. Jeff
Jul ’22
Reply to In app purchase
Hello endecotp I have found my solution, using TPinAppReceipt library, I can get the "originalAppVersion", which from sandbox on apple connect always gives "1.0", and nil on Xcode sandbox, but I think this will do the trick, I was under impression that StoreKit 2 would give me the same functionality, but appears not. Thanks for your feedback. Jeff
Jul ’22