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
0 answers

Revenuecat and Storekit : Determine the free trial eligibility returns error

I use Revenucat to manage the subscriptions. A free trial period is offered and to determine the eligibility of the user, I use the following code provided by revenuecat and I test the code by using the SandBox (Test Flight returns the same…
Jeff 974
  • 69
  • 1
  • 4
0
votes
0 answers

How to decrypt a receipt and validate for a Xamarin forms iOS auto-renewing subscription?

I'd like to know for a Xamarin Forms iOS auto-renew subscription: Is it mandatory to validate a purchase? How can I decrypt an App Store Receipt? How can I validate a purchase without using a server? VALIDATION I've had the app store reject my app…
jho
  • 199
  • 1
  • 8
0
votes
0 answers

cordova-plugin-purchase, error when trying to access appStoreReceipt

I am testing cordova-plugin-purchase in my App and everything is working in my sandbox testing except I am unable to get storekit.appStoreReceipt. I am using Capacitorjs (not with Ionic) and the CapacitorHttp plugin. I mostly want to get the…
0
votes
0 answers

Flutter ios appstore validateReceipt on non-consumable in-app purchase

I seem to be stuck on this. Trying to validate the receipt (server side) on an in-app purchase on IOS (haven't tried with android, yet.) I'm using the official in_app_purchase pub package. This is the setup to initialize the purchase: …
rickb
  • 601
  • 5
  • 19
0
votes
0 answers

Do I need to implement in app purchases to check app store receipt?

I'm want to turn my paid iOS app to a free one. I want the paid users to have all the features they paid for, and the free users will get other features. All the tutorials for app validation are very complicated for me and seem to involve IAP. I…
Peter Ruppert
  • 1,067
  • 9
  • 24
0
votes
0 answers

Example of iOS App Store Receipt and verification

For a free app– yet to be published on the Apple App Store, I am struggling to test out the receipt validation feature. Bundle.main.appStoreReceiptURL is where the receipt is apparently located but offers no guarantee of there is a file at the end…
0
votes
0 answers

ASDServerErrorDomain Error when trying to do receipt validation

I'm using the following code for receipt validation in appstore.If the receipt is not present the user is asked to login.This is the class i use. ReceiptFetcher import Foundation import StoreKit class ReceiptFetcher : NSObject { public var…
techno
  • 6,100
  • 16
  • 86
  • 192
0
votes
1 answer

Swift: Should I validate receipts Consumables

I am at the point of validating receipts. However, I am curious if it is mandatory to validate the receipt of a Consumable? It is being stored in the Keychain as a virtual credit system, so not jailbreak worthy. However, I cannot find information on…
Fabian H.
  • 458
  • 4
  • 11
0
votes
2 answers

Not receiving expiration_date, expiration_date_ms, and expiration_date_pst in receipt validation response

I'm accessing the receipt after a successful in-app subscription (by checking SKPaymentTransactionStatePurchased state). After I verified this receipt, in the receipt verification response "expiration_date", "expiration_date_ms", and…
0
votes
1 answer

How to correctly send an in-app subscription receipt via Http Request?

I want to send the receipt got from AppStore after an in-app subscription to the server in order to verify it (because Apple recommends verifying from the server rather than the app). The receipt has symbols like, "+", "/", and "=". Since I could…
0
votes
0 answers

MZInAppLockerAccessException (status 21010) Apple verifyReceipt endpoint exception in-app-purchase subscriptions

I am working with subscription in-app purchases and am hitting the following endpoint with stored receipts: https://buy.itunes.apple.com/verifyReceipt Just this past weekend (starting 10/24/2020) I started to get the following exception returned and…
0
votes
0 answers

Storekit: Testing receipt validation - When to use which server address?

I am starting to get really confused about this receipt validation. So there is the live server from apple and the sandbox server for the receipt validation. When do I need to test which? Some users complain they get the message, that no receipt can…
MichiZH
  • 5,587
  • 12
  • 41
  • 81
0
votes
1 answer

iOS auto-renew subscription receipt validation issue

Apple rejects my iOS app due to the following reason: 2.1 After purchasing the In App Purchase, the App Store authenticated and confirmed, but the app failed to validate the receipt. I did not experience that while I am testing the app in…
0
votes
0 answers

SSL Error while Connecting to Apple Sandbox for Receipt Validation

3 out of 4 connections fails while trying to validate the receipt using apple sandbox URL.Is anyone experiencing the same issue? https://sandbox.itunes.apple.com/verifyReceipt Connection 3: encountered error(3:-9816) 2020-04-03…
techno
  • 6,100
  • 16
  • 86
  • 192
0
votes
1 answer

Sandbox testing Receipt validation without Inapp purchase

My product does not have any inapp purchases.All i want to check is that if the user has purchased the app from the app store as i cant implement my own licensing scheme. I have seen many examples on receipt validation to achieve the same,All these…
techno
  • 6,100
  • 16
  • 86
  • 192