AlexDisler / cordova-plugin-inapppurchase

A lightweight cordova plugin for in app purchases on iOS/Android
315 stars 192 forks source link

Plugin does not return Original Transaction Identifier when restoring purchases (at least on iOS). #120

Open haninaguib opened 7 years ago

haninaguib commented 7 years ago

I think this information should be returned. I would want to use it as part of a key used to generate request tokens to my server.

centrual commented 7 years ago

Original transaction id is most important detail of Subscription. restorePurchases should return original_transaction_id in IOS. I agree that.

xgat commented 7 years ago

I'm testing on Android, returned transactionId is empty!

gonzaloserrano commented 6 years ago

Hi, I was stuck with this too. My solution is:

desmeit commented 5 years ago

How can I do that with a non consumable product? There is no entry in the "in_app" array in the response of getReceipt(). Thanks.

verybluebot commented 5 years ago

@haninaguib getting the same behavior apparently this is expected.. see SO answer Question is - is there a way to by pass it with this library as explained natively in the above SO answer