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
3
votes
1 answer

Ios Server-to-Server Notifications

I am trying to implement the Server-to-Server Notifications for IOS subscriptions. I have went through the Server-to-Server Notifications documentation and followed all the necessary steps. My server is in the GCM. Now when i do a purchase in the…
Kumar KS
  • 521
  • 8
  • 18
3
votes
1 answer

Auto-Renewable Subscription never expires in Sandbox

I have successfully implemented auto-renewable subscriptions (In App Purchase) in my app using StoreKit. I am still in development mode so I am using sandbox user for testing. Once I subscribe to the monthly subscription using the sandbox…
3
votes
1 answer

Electron - In-App Purchase - how to validate apple receipt using PHP?

I have an Electron app with In-App Purchases integrated. The In-App Purchases themselves are working - I can pull down the price and display it - and the user can buy the IAP. However, I'm having trouble validating the Apple receipt. I'm using this…
3
votes
1 answer

Is it possible to identify a refund on iTunes connect?

I'm worry about the refund process on Apple. As I understood, if a customer ask Apple for refund and Apple accept its, the owner of the application is not notified, instead, the owner shall be monitoring the receipt data with Apple to look for the…
Jesus Peralta
  • 661
  • 1
  • 8
  • 18
3
votes
4 answers

Validating App store receipt gives DrmInvalidArgumentException

I'm following the documentation here. https://developer.apple.com/library/content/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateRemotely.html I have a receipt-data from my team that I'm trying to validate, they're getting error code…
quantumpotato
  • 9,637
  • 14
  • 70
  • 146
3
votes
1 answer

Inapp purchase receipt validation crash in Live

My first version of the app was working well both when live as well as in sandbox..now the second version is crashing after downloading from Appstore. The second version worked well in sandbox mode for both development and ad-hoc. The applicaiton…
3
votes
0 answers

Validate and read iOS receipt on PHP server

I've read a lot of discussions about iOS receipt validation, but I couldn't find a way to validate and read receipt content in PHP without calling Apple servers (that are very slow and cause my app to wait 4/5 seconds before opening). Unfortunately…
Luciano
  • 1,208
  • 2
  • 17
  • 36
3
votes
2 answers

Consumable in app purchases validation

We recently launched the app which has only consumable in-app purchases. We noticed lot of fake purchases - purchases with invalid receipts and also 'valid' receipts but the "in_app" array in the validation response from apple is empty array. I need…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
3
votes
0 answers

Writing own iTunes IAP receipt validation server, unique data in receipt?

I'm trying to validate my own receipts for IAP. I'm facing a few problems regarding finding a constant data point which I can check for uniqueness. The first problem is a large number of my receipts have status: 0 yet, the in_app field is an empty…
Matan K
  • 71
  • 2
3
votes
1 answer

Non-consumables In-App Purchase receipt validation optional?

I have an app with 1 non-consumable in-app purchase to unlock extra functionalities. I implemented in-app purchased and it working in my sandbox environment. My question is, do I need receipt validation? It is mandatory or optional? Would my app be…
iamarnold
  • 229
  • 3
  • 12
3
votes
1 answer

base64EncodedStringWithOptions for receipt data returns nil

I want to validate my in app purchases using server side. So I use the following code: - (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions { for (SKPaymentTransaction * transaction in transactions) { …
Sviatoslav Yakymiv
  • 7,887
  • 2
  • 23
  • 43
3
votes
1 answer

iOS Date format issue within App receipt

I am parsing the JSON returned from App Store when verifying a receipt. One of the public fields is original_purchase_date. However, the date that is returned here is in the format of "2014-05-30 14:05:51 Etc/GMT". The issue being that when I try to…
NeilMortonNet
  • 1,500
  • 4
  • 16
  • 36
2
votes
0 answers

iOS IAP - Local receipt validation vs. storing the purchase on Keychain

I am implementing in-app purchases and am currently reading up on how to best store the information if you don't have your own server. I came across these two articles by the same author, two years apart: Check if user has purchased in-app item /…
Big_Chair
  • 2,781
  • 3
  • 31
  • 58
2
votes
0 answers

In App Purchace ios Receipt Validation in Node Backend fails with response status 21002 - The data in the receipt-data property was malformed

I'm implementing in app purchase functionality on a Flutter application with NodeJs backend server. I'm facing difficulties on validating the receipt. The purchase from Flutter app is successful on sandbox environment and I'm getting the receipt url…
2
votes
0 answers

iOS subscription promotional offers without a server

I'm new to the topic of iOS auto renewable subscriptions, and I'm trying to understand 2 things: Is it possible to work with subscriptions without a server? If my only goal for now is simply to understand if the subscription is active or not. Is it…