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).

Share:
1,238
Author by

Bollie

Updated on December 16, 2022

Comments

  • 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!

  • Ankur Patel
    Ankur Patel about 2 years
    from where can i call your code "purchaseDetails.verificationData.localVerificationData". Which package is use for this?