Replies: 2 comments 1 reply
-
|
Based on Apple StoreKit 2 official documentation:
Answers to Your Questions1. Can
|
Beta Was this translation helpful? Give feedback.
-
|
Hi, thank you so much for the detailed answer and the official sources! I'd like to clarify one more point if you don't mind. When a subscription renewal payment is successfully completed on the server side (StoreKit 2 for iOS and Google Billing for Android), and the user subsequently opens the app, does the onPurchaseSuccess listener automatically detect the renewed 'purchase' object on both platforms? I would greatly appreciate your clarification on this. Thank you again for your time and help! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I’m currently using react-native-iap ^14.4.46 / Storekit 2
I’d like to ask the community if there are any cases where, for the same subscription purchase, the purchase.transactionId value received from onPurchaseSuccess can be reproduced with a different value within a very short time gap (e.g. 0.3 seconds).
In addition, I see both purchase.transactionId and purchase.originalTransactionIdentifierIOS.
Could someone clarify the difference between these two values?
My understanding is that:
Each purchase should have a unique identifier
For the same subscription purchase, these values should not change
However, I’d like to know:
In which situations these two identifiers can be the same or different
Whether transactionId can change for the same subscription flow
Which identifier is safe to rely on when identifying a subscription purchase (especially on iOS)
Any clarification or official references would be greatly appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions