-
-
Notifications
You must be signed in to change notification settings - Fork 622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transactionId always "" from getPurchaseHistory #424
Comments
|
Thanks @hyochan. I was confused when initially reading the README about those. |
@hyochan actually the result of
What I am trying to do is get the transactionId of the most recent purchase. |
I've updated Actual Behavior in case it's not clear what I'm seeing. |
@gerbus Then this might not be an issue and I think this is expected since |
Version of react-native-iap
^2.4.1
Version of react-native
https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
transactionId is not empty.
Actual behavior
transactionId is an empty string in result:
[{
autoRenewingAndroid: false,
signatureAndroid: 'LELlDZtkLgaDNLowuK9yphjvB9z8Dtlw+zM0TgcTgcztnMmPTLsrkPGDO1X30r3xtIO6exjujuKmUSJiGBX3vTzPzXdrmn5q0gqkQg6TCL2ZSC94/aIJE2zvws2GPGI02ICUCAotty2dbGiduAoE3Kf+SImcZPjoWjdh3l/mgYCzu7K+MrZmHU7F27NWPVv+RMg5q6Hzv2s7GuxYeD41BiBYHfbnTidD1EM5fu6cSivGswdFaSU8qlVNXkUNH1cKFARDE15iUrgeQQVh8KEN/dvvrcNIWNb8ICwvv9Y+wYGiC/zA/WkYCHyk/Xao0c7MRA==',
purchaseToken: 'mgbaflglpllamdhkjacb.AO-J1OyLsiyKIcSz2cNQeVTlo8ghi1MKn6BmfhdAMT04ZaWE5zWtCrTlCifgGfBJKx1IaqHMOA2N_iC9PHfFPFhxa67vQP9LAnvYDzMfQXRMzv7YT5Q',
dataAndroid: '{"productId":"app_000","purchaseToken":"mgbaflglpllamdhkjacb.AO-J1OyLsiyKIcSz2cNQeVTlo8ghi1MKn6BmfhdAMT04ZaWE5zWtCrTlCifgGfBJKx1IaqHMOA2N_iC9PHfFPFhxa67vQP9LAnvYDzMfQXRMzv7YT5Q","purchaseTime":1550610049162,"developerPayload":null}',
transactionReceipt: '{"productId":"app_000","purchaseToken":"mgbaflglpllamdhkjacb.AO-J1OyLsiyKIcSz2cNQeVTlo8ghi1MKn6BmfhdAMT04ZaWE5zWtCrTlCifgGfBJKx1IaqHMOA2N_iC9PHfFPFhxa67vQP9LAnvYDzMfQXRMzv7YT5Q","purchaseTime":1550610049162,"developerPayload":null}',
transactionDate: '1550610049162',
transactionId: '',
productId: 'app_000'
}];
Tested environment (Emulator? Real Device?)
Android device
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: