-
-
Notifications
You must be signed in to change notification settings - Fork 661
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
issue connecting to payment (Android) #2456
Comments
I got same error from v 9.0.1 |
I'm also facing the same issue in
Previously it was working fine with
|
@OHHAKO any update on this issue? Are you able to fix this issue by any chance? |
i am also facing this issue in debugging. |
Check out this link: https://github.com/dooboolab-community/react-native-iap/blob/main/IapExample/src/screens/Products.tsx |
When finishing the transaction in the case of Subscription, |
This issue is connected with #2276 , this is NOT resolved. I passed an object!
I try to request a subscription or a single purchase, Android.
Both calls got the same error message:
{"message":"Google is indicating that we have some issue connecting to payment.","debugMessage":"Please ensure the specific App version has been published.","code":"E_DEVELOPER_ERROR","responseCode":5}
react-native-iap version 12.8.1
react-native 0.71.3
Calls:
await IAP.requestPurchase(
Platform.select({
ios: { sku },
android: { skus: [sku] },
})
);
the sku and offerToken are correct.
I also tried:
without success, same failure.
With react-native-iap 7.5.6 and react-native 17.0.2 the requestPurchase and requestSubscription calls are working just fine.
Any ideas? Can anybody help me please?
Answer was : Look at the migration docs. You should be passing an object to those methods
My answer: This is not the solution. I passed an object. Please take a closer look.
Android: { skus: [sku],
obfuscatedProfileIdAndroid: editionName,
obfuscatedAccountIdAndroid: curPublDate,
}
The text was updated successfully, but these errors were encountered: