Qt 5.4: Mac App Store receipt validation
-
Hi friends,
bringing a app to the app store is great but somehow you must ensure that the user has obtained a valid copy. So i found documentation from apple: "Apple receipt validation":https://developer.apple.com/library/ios/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateLocally.html#//apple_ref/doc/uid/TP40010573-CH1-SW2
My question is, if there exists Qt specific stuff for this (like Qt purchasing API or somethin like that) or do i have to write native code for that?
Greetings
Nando -
Hi,
Do you mean something like "this":http://doc.qt.digia.com/QtPurchasing/ ?
-
Good morning :-)
[quote author="SGaist" date="1415752304"]Hi,
Do you mean something like "this":http://doc.qt.digia.com/QtPurchasing/ ?[/quote]
Yes but not yet for in-app purchases but for regular App Store purchases.
If sombody buys the application in the App Store and then downloads it, there should be something like a validation receipt in the bundle. This is needed to check for validity and should prevent just to copy the bundle to another mac and runs is there without buying it in the app store.
This checking of the validation receipt is what i am currently looking for...Greetings
Nando -
AFAIK, there's no such thing currently
-
I think i will use this: "Receigen ":http://receigen.etiemble.com/
Seems to be really good.Greetings
Nando -
Sounds good indeed, the one thing that might be a bit complicated is the "Startup receipt validation at startup" use case
-
[quote author="SGaist" date="1415868390"]Sounds good indeed, the one thing that might be a bit complicated is the "Startup receipt validation at startup" use case[/quote]
Yes that is exactly where i am currently working on.
Receigen generates all the code.
"So it should work for Qt applications ":http://receigen.etiemble.com/guides-usewithqt.html
but currently id does not work for me. I have to spend some more time.
I will report my results.Greetings