For questions concerning the validation of iOS in-app purchase receipts against Apple servers, a recommended means of app billing fraud protection.
Questions tagged [receipt-validation]
212 questions
1
vote
1 answer
Verifying the purchase (receipt) of another application (Mac App Store)
TL;DR: Is there a way to verify that a user has purchased another app (of mine) from the Mac App Store?
In a brief, I want to completely rebrand one of my applications on the Mac App Store. The current version is very buggy and has a user base of…

JDev
- 5,168
- 6
- 40
- 61
1
vote
1 answer
iOS In-app purchase: server side receipt validation for consumable products
I would like to implement In-App purchase of consumable products for an iOS app I'm developing. I want to validate the receipt on the server side as indicated in the documentation:
App start transaction asking to the Apple Store
Apple Store return…

Andrea Gorrieri
- 1,704
- 2
- 22
- 36
1
vote
1 answer
Can I migrate purchase between applications in macOS App Store?
I have several similar applications (A1-A3) with hugely the same codebase. They all do similar things (diagrams), each with a specialisation for a specific use case. I am now considering to create one app (B) that sells the specialisations as an Mac…

Wizard of Kneup
- 1,863
- 1
- 18
- 35
1
vote
1 answer
Notify server with IOS in-app purchase events (renewed,cancelled..etc)
I'm using auto recurring subscriptions in my app in my app,I need to change the subscription status if recurring fails from iOS.
I am following this documentation, but there are a few things that are still not clear to me:
What if my server missed…

Srikanth
- 137
- 12
1
vote
1 answer
What is the best way of storing auto renewing subscription receipts in ios?
I am implementing Auto Renewing subscriptions in my App. I am able to complete all the Purchases and Restorations perfectly. But i am kind of struck on what would be best ways to save the receipt details. Below are my questions.
Is it a good idea…

Pradeep Reddy Kypa
- 3,992
- 7
- 57
- 75
1
vote
1 answer
Is there a way to offer an In-App purchase programmatically?
In the development of the version 2.0 of my app, I would like to change the economic model.
Actually, my app cost 1.99$, but I would like to change it so that it's free at first sight, but some features reserved for users that have done an in-app…

Synny
- 542
- 1
- 4
- 18
1
vote
0 answers
Ionic 2 in-app-purchase for iOS decode the Base64 recceipt
How can I do this? the pluging simly refers to some serve side code to do this. How do I this in Ionic 2 app?
thanks

OldSchool
- 93
- 2
- 7
1
vote
0 answers
Google_Client receipt validation: Class 'GuzzleHttp\Psr7\UriResolver' not found in \vendor\guzzlehttp\guzzle\src\Client.php line 147
I am using Lumen version Laravel Framework version Lumen (5.3.3) (Laravel Components 5.3.*). Following is my code. But throwing the exception:
Class 'GuzzleHttp\Psr7\UriResolver' not found in \vendor\guzzlehttp\guzzle\src\Client.php line…

Kiren S
- 3,037
- 7
- 41
- 69
1
vote
1 answer
Cannot pass immutable value as inout argument: implicit conversion from 'UnsafePointer? to 'UnsafePointer?' require a temporary
I have written a method for parsing Receipt of InAppPurchase in Swift2.3 and now I am converting it to Swift3. So I am getting this error. Anyone has idea, how to fix this?

Umair Aamir
- 1,624
- 16
- 26
1
vote
1 answer
iOS: Tracking the paid users while converting paid iOS application to free with in-app purchases
We have a paid iOS application in the AppStore currently. We are planning to convert it to a free application with in-app purchases. We would want to make the in-app purchases free to the users who have already paid for the application in the…

Priya Thiagarajan
- 63
- 8
1
vote
0 answers
how to detect the renewal status in apple auto subscription development?
there is a way if the server verify the receipt the apple will return the latest_receipt_info which contains the expires_date of auto subscription.But what time and what way to do this check? everyday the server to do this check or the app to do…

elsonwx
- 1,431
- 3
- 16
- 26
1
vote
0 answers
Match iOS in-app purchase receipt with user's purchase history
We're using in-app purchases in our app and validating receipts on server side.
As a result of validation we get Receipt object described here. We store the transaction_id in our records as a unique identifier of the purchase.
Then, some time after…

alexey
- 8,360
- 14
- 70
- 102
1
vote
0 answers
Why is my original purchase version always displayed as 1.0?
I am attempting to extract the user's receipt to ascertain what their original purchase version was by using the following code:
if attr_type == 19 {
// Bundle version
var str_ptr = ptr
var str_type:…

Tom
- 790
- 2
- 9
- 32
1
vote
0 answers
Receigen-generated receipt-validation code crashes when no receipt is present if checked during `main` method
The Receigen documentation, and other sources, suggest validating your app’s receipt as soon as possible, early in the main method even.
When I call the Receigen-generated code in main method, I get a execution-interruption when the app has no…

Basil Bourque
- 303,325
- 100
- 852
- 1,154
1
vote
1 answer
Apple In-App Purchase receipt version 3 (suddenly appearing instead of version 2)
The receipt validation in my app started breaking recently. Apparently, in the last 2-3 weeks Apple has changed the version number of the In-App Purchase receipt from 2 to 3.
When examining the signature struct:
struct signature_blob {
uint8_t…

Basil Bourque
- 303,325
- 100
- 852
- 1,154