Flutter (IOS) In-app-purchase local receipt
1,238
Receipt verification data can be retrieved from purchaseDetails.verificationData.localVerificationData
.
This is already a base64 encoded string and can be used in the json format to query Apple's server at https://sandbox.itunes.apple.com/verifyReceipt (url for Sandbox testing only).
Author by
Bollie
Updated on December 16, 2022Comments
-
Bollie less than a minute
In flutter, I am using the flutter developed In-app-purchases package, how do I access the receipt data (IOS) from the transaction to send to my server? I'm attempting to do receipt validation, but so far cannot seem to find the correct data. This is for a subscription if that makes a difference. Thank you!
-
parth sanghani almost 3 yearsi also face the same problem but i found the solution. the solution is to Make Api call to Appstore SandBox: “sandbox.itunes.apple.com/verifyReceipt” iTunes Store : “buy.itunes.apple.com/verifyReceipt” The below of the Link also help you developer.apple.com/library/archive/releasenotes/General/…
-
-
Ankur Patel about 2 yearsfrom where can i call your code "purchaseDetails.verificationData.localVerificationData". Which package is use for this?