Skip to content

Original Transaction Id for iOS #18

Description

@marjika

Hello, I recently had to do a major update for my development Cordova app and can no longer use cordova-plugin-inapppurchase. I have implemented your plugin for Android and it has worked fine so I tried it in my iOS app also. I have been using a property called originalTransactionId from both the original purchase and from the renewal notifications because it is a unique value for both the specific subscription and for the specific user. This property is no longer being returned upon purchase although I do still see it in renewal notifications. Reported here is that "To get the original transaction identifier from your app, use the originalID property of the Transaction object that represents the in-app purchase." I have tried to modify your code to make this change, but I get the error "Property 'originalID' not found on object of type 'SKPayment'". I don't know Swift at all so I may be doing this wrong.
Could you implement a change in which this property--originalTransactionId-- is returned following purchase as this is a useful identifier for my application? or give me an idea of how to return this property for initial purchase of an appStore purchase? Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions