Questions tagged [in-app-purchase-receipt]
29 questions
5
votes
0 answers
Flutter (IOS) in app purchase receipt data
I use the [in app purchase][1] library to make in-app purchases in the application I developed with Flutter. When a purchase is made, in order to verify in-app purchases for Android on the server side, I am sending the datas as follows, which I need…

idrisyagci
- 218
- 4
- 19
5
votes
3 answers
Sandbox environment returns 21003 status code for receipt validation
When I test an in-app purchase with the sandbox the post request to the sandbox url https://sandbox.itunes.apple.com/verifyReceipt returns
data: { environment: 'Sandbox', status: 21003 }
The 21003 status code means that the receipt could not be…

Gwater17
- 2,018
- 2
- 19
- 38
4
votes
1 answer
Validating receipts with the App Store deprecated
When was validating receipts with the App Store deprecated?
When will this stop working? I can’t find any information on this?
https://developer.apple.com/documentation/appstorereceipts/verifyreceipt
buy.itunes.apple.com/verifyReceipt

user5462477
- 111
- 1
- 6
3
votes
0 answers
In-app purchase fails on Apple Silicon Mac
I'm testing IPhone and iPad Apps on Apple Silicon Macs.
When I purchase In-app product in the app on Apple Silicon Mac,
the payment receipt is not created, so the purchase fails.
In console log, it says it doesn't have permission to write to the…

yjkim237
- 31
- 2
3
votes
0 answers
How to validate Apple's "Auto-Renewable In App Purchase Receipt Validation" API using java?
Can someone guide me how to test iOS(auto-renewable IAP) Receipt Validation API by using Sandbox URL?
I have tried this below snippet.
public void validateReceiptData(VerifyReceiptRequestView requestview) {
…

Kanagalingam
- 2,096
- 5
- 23
- 40
2
votes
3 answers
Appstore server notification set up [Receiving App Store Server Notifications version2]
I am trying to set up my server with appstore notification.
So that I can get notification when users refund their in-app-purchase.
https://developer.apple.com/documentation/appstoreservernotifications/receiving_app_store_server_notifications <-…

LimJee
- 21
- 3
2
votes
0 answers
how to determine the user if he re subscribed to expired subscription from google play store subscriptions
I have an android app that has subscriptions, the problem is user can directly re subscribe to expired subscription from the play store instead of the app. so i can't have the user details in the backend when this happens. also tried disabling the…

Praveen Kumar
- 67
- 1
- 5
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…

DiffNeeds
- 21
- 1
2
votes
0 answers
how I get in app purchase user status in android
I have implement in app purchase in to my app and I want to get details of already purchase subscription's sku data and currant status.
with this data I want to use for proration and cancel
is there any way to find this

Foram Shah
- 33
- 3
2
votes
0 answers
How to get data of already purchase subscription
**I have implement in app purchase in to my app and I want to get details of already purchase subscription's sku data and currant status.
with this data I want to use for proration and cancel
is there any way to find this**

Foram Shah
- 31
- 5
2
votes
1 answer
IAP Handling Multiply Users / Original Transaction ID
I feel this topic is being discussed again and again and yet I fail to identify one single correct way to manage this. The problem:
-> Auto-Renewable subscription (monthly):
-> Single iTunes account
-> Multiply app user accounts
-> HOW DO I…

Pawel Klapuch
- 380
- 4
- 15
2
votes
0 answers
How to recover from a failed apple receipt validation?
My organization validates receipts of purchases of our product from the App store using the verify receipt endpoint. Our logs indicate that beginning April 1, 2020, roughly 400 of these verifications failed with status code 503 being returned. …

Extranomical
- 385
- 1
- 3
- 13
2
votes
1 answer
verifying apple receipt with PHP is not working sometime
I'm using below code to verify apple receipt using PHP, using CURL i'm calling apple server and trying to get response.This code is working fine but sometimes apple JSON response is coming empty and i'm not getting any error message also. It just…

Praba
- 31
- 3
1
vote
0 answers
Can't get a receipt from another device for iOS
The test was conducted with one account and two devices.
Log in with your account in Device 1, run the application to pay for Product 1, and do not consume receipt.
Log in with your account in Device 1, run the application and find a receipt in…

Gunn
- 11
- 1
1
vote
1 answer
Apple purchase : verify receipt using Rest template
I have to implement an API which aims to verify a receipt through Apple server using Rest template. However, I receive always a status code 21002 from https://sandbox.itunes.apple.com/verifyReceipt
public void verifyReceipt(Purchase purchase) {
…

SK7
- 643
- 1
- 6
- 15