Questions tagged [receipt-validation]

For questions concerning the validation of iOS in-app purchase receipts against Apple servers, a recommended means of app billing fraud protection.

212 questions
0
votes
1 answer

Back track IOS Receipt Information of Payments made using In-App Purchase IOS

Does Apple/Itunes/Itunes Connect provides detailed information of receipt generated at any instance(apart from at the time of in-app purchase callback) ? Apparently, we can send curl requests to Apple Server if you have record of the receipt ID.…
jseru
  • 31
  • 4
0
votes
1 answer

iOS Receipt validation failing for long-term users

With our latest release, we converted our app from paid to in-app subscription purchase. We promised our current users that we would grandfather them into the subscription because they already paid for the app. In our code, we look for a valid…
Guy
  • 308
  • 2
  • 11
0
votes
1 answer

iOS receipt validation is not working correctly

I have a free App (already available in the App Store) that has a non-consumable IAP option that it's just a like a Premium Version with more functionalities...minimum deployment target is 8.0 I use the RMStore library…
jankoesp
  • 21
  • 5
0
votes
1 answer

Testing Windows store in-app purchases

Hello I am making a web service, which will validate windows store in-app purchases using a receipt from the app. I found this link in microsoft website https://msdn.microsoft.com/en-us/windows/uwp/monetize/use-receipts-to-verify-product-purchases…
0
votes
1 answer

Remote verify ios 7.0+ app receipt returns 21002, but works with transaction receipts

I've constanty getting 21002 error (malformed) while trying to check app receipt. But checking transaction receipt using the same php code works ok. in Xamarin C# (the same code as in objective-C) in RestoreTransaction callback I get sandbox app…
Tertium
  • 6,049
  • 3
  • 30
  • 51
0
votes
0 answers

How to read an opaque value from receipt?

I have an application which uses auto renewable subscription. I use applicationUsername property of SKMutablePayment to save some information. How can I later read this data from opaque value from receipt? I try to do it similarly to this solution:…
0
votes
0 answers

How to identify apple consumable purchase at server side (PHP)

I have simple API gate on my server, where I receive info about inApps from iOS clients applications. I validate the receipt from APNC and try to detect which product has been purchased. But I don't understand how to do this.. I receive something…
sharp
  • 857
  • 1
  • 9
  • 21
0
votes
1 answer

IOS In-app purchases Sandbox testing - Does not unlock Content

When testing our app in a sandbox account for in-app purchases it gives the verification that the transaction has completed, but it does not UNLOCK the content that was purchased. For example: Store Buy Level Packs Result: Transaction Successful,…
0
votes
1 answer

How to get app receipt after purchase using test account in iOS

I am working with IAP, I want to get the receipt so that I can validate it. I have tried this -(void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions { for (SKPaymentTransaction *transaction in transactions) { …
Ranjit
  • 4,576
  • 11
  • 62
  • 121
0
votes
1 answer

Identify user in a FirefoxOS hosted app after inapp purchase with fxpay

here is my problem. I've set up an application in the Firefox MarketPlace. My application is approved and public. I can find it in the store, download it and use it. It's a FREE app and some extra content can be unlocked with an fxpay in-app…
0
votes
2 answers

Does a completely free iOS app need app store receipt validation?

On the Mac version of my app I used to validate App Store receipts like so: if (![[NSFileManager defaultManager] fileExistsAtPath:[[[NSBundle mainBundle] appStoreReceiptURL] path]]) { exit(173); } While I did the same on iOS before, it…
DARKMATTER
  • 361
  • 5
  • 14
0
votes
1 answer

Windows Phone 8 inapp purchase in beta app gives signed receipt with wrong digest

I've tested in-app purchases in Windows Phone 8 application using MockIAP library - and everything was ok. Also I've tested receipt signature verification code (based on xmlseclibs by Robert Richards) on my server with test Microsoft manifest from…
Tertium
  • 6,049
  • 3
  • 30
  • 51
0
votes
0 answers

How to protect against a missing app receipt in iOS?

Apple's Receipt Validation Programming Guide suggests testing for the existence of the app's receipt at the earliest point in the app's launch: Implement this check in the main function, before the NSApplicationMain function is called. They…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
0
votes
0 answers

Can't Access 'in_app' fields from iOS7 receipt on PHP Server

I'm trying to grab the original transaction id from an iOS reciept but it's in a weird format when I use json_decode on the data I get back from apple. Here is an example: //object from apple { "in_app" = ( { …
Aggressor
  • 13,323
  • 24
  • 103
  • 182
-1
votes
1 answer

macOS - The Gods are punishing me. The app's receipt fails miserably to load, no matter what I do

I have tested all solutions on similar questions on SO and they all failed for me. I think mine is different because the application's receipt is not even loading. I am having developing this macOS app for at least 7 months. The app contains…
Duck
  • 34,902
  • 47
  • 248
  • 470
1 2 3
14
15