Skip to content

[in_app_purchase_storekit] Missing originalId, expirationDate etc in SK2PurchaseDetails. We should add SK2Transaction to SK2PurchaseDetails #186488

Closed
flutter/packages
#13341

Description

@absar

Use case

Without SK2Transaction in SK2PurchaseDetails we cannot get originalId, expirationDate etc. originalId is necessary to decide whether it's the same purchase renewal or restore etc

Proposal

SK2PurchaseDetails should have SK2Transaction object, like how SK1 AppStorePurchaseDetails.skPaymentTransaction or GooglePlayPurchaseDetails.billingClientPurchase worked. SK2TransactionMessage already has convertFromPigeon which can be used to create SK2Transaction then populate into SK2PurchaseDetails new property transaction

Activity

  1. changed the title [-]Missing originalId, expirationDate etc in `SK2PurchaseDetails` add `SK2Transaction` transaction to `SK2PurchaseDetails`[/-] [+][in_app_purchase_storekit] Missing originalId, expirationDate etc in `SK2PurchaseDetails` add `SK2Transaction` to it[/+] on May 14, 2026
  2. saurabh-mirajkar commented on May 14, 2026

    @saurabh-mirajkar
    Contributor

    @absar Thanks for the proposal. Routing this to team-ecosystem for further investigation, as it involves a plugin API enhancement for in_app_purchase_storekit, which is a first-party package.

  3. added
    platform-iosiOS applications specifically
    packageflutter/packages repository. See also p: labels.
    c: proposalA detailed proposal for a change to Flutter
    and removed
    in triagePresently being triaged by the triage team
    on May 14, 2026
  4. added
    team-iosOwned by iOS platform team
    and removed on May 19, 2026
  5. changed the title [-][in_app_purchase_storekit] Missing originalId, expirationDate etc in `SK2PurchaseDetails` add `SK2Transaction` to it[/-] [+][in_app_purchase_storekit] Missing originalId, expirationDate etc in `SK2PurchaseDetails`. We should add `SK2Transaction` to `SK2PurchaseDetails`[/+] on May 21, 2026
  6. hellohuanlin commented on May 21, 2026

    @hellohuanlin
    Contributor
  7. added
    P2Important issues not at the top of the work list
    triaged-iosTriaged by iOS platform team
    on May 21, 2026
  8. vamseevk2001 commented on Jul 22, 2026

    @vamseevk2001

    Could you please provide an update on this issue? Is it planned to be added to SK2PurchaseDetails? Prior to migration, we relied on the original transaction ID from AppStorePurchaseDetails.skPaymentTransaction. However, this is no longer available. Is there a method to retrieve the original transaction ID for purchases until SK2Transaction is added to SK2PurchaseDetails?

  9. added
    P1High-priority issues at the top of the work list
    and removed
    P2Important issues not at the top of the work list
    on Sep 25, 2026
  10. github-actions commented on Nov 3, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  11. locked as resolved and limited conversation to collaborators on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: proposalA detailed proposal for a change to Fluttercustomer: solarisp: in_app_purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions