-
-
Notifications
You must be signed in to change notification settings - Fork 655
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
This in-app purchase has already been bought Alert though clearTransactionIOS method was used #934
Comments
Is your product Also, try calling |
Yep, it's consumable. Picture is attached. I'm already doing function* purchasesSaga() {
try {
yield call(initConnection)
yield call(clearProductsIOS)
const products: Product[] = yield call(getProducts, productSkus)// productSkus - array of consumable products
const subscriptions: Subscription[] = yield call(getSubscriptions,subscriptionSkus)// subscriptionSkus - array of subscriptions
yield put(getInAppPurchasesSuccess({ products, subscriptions }))
} catch (e){}
} |
Please download If
|
Version of react-native-iap
4.4.0
Version of react-native
0.61.5
Platforms you faced the error (IOS or Android or both?)
IOS
Expected behavior
When buying several consumable products one by one, e.g. six new products, than 'This in-app purchase has already been bought' Alert appears & I'm not able to buy this product any more. I've tried to apply
clearTransactionIOS
on application launch but it doesn't help. Any ideas how to fix that? Where is the proper place to callclearTransactionIOS
?Actual behavior
"This in-app purchase has already been bought" doesn't appear & transaction is finished
Tested environment (Emulator? Real Device?)
Real Device
Steps to reproduce the behavior
finishTransaction()
method. AlsoclearTransactionIOS()
is called on app launchThanks for help in advance
The text was updated successfully, but these errors were encountered: