Skip to content
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

Android In-App Purchases Failing: Unknown Error and Receipt Not Suitable #2822

Open
cagdaseksi opened this issue Aug 22, 2024 · 2 comments
Open

Comments

@cagdaseksi
Copy link

cagdaseksi commented Aug 22, 2024

Please use the Discussion board if you want to get some help. Please use issues to report bugs.

Description

I am consistently encountering two errors when using the react-native-iap library in my React Native project. These errors is affecting Android platforms.

Expected Behavior

The purchase process should complete successfully without errors, allowing users to make in-app purchases.

Screenshots

Screenshot 2024-08-22 at 17 28 10 Screenshot 2024-08-22 at 17 31 24

Environment:

  • react-native-iap:12.15.2
  • react-native:0.74.3
  • Platforms (Android, device):

To Reproduce
Steps to reproduce the behavior:

Go to the in-app purchase section.
Attempt to make a purchase.

The following errors are displayed:

Purchase Error - An unknown or unexpected error has occurred. Please try again later.
Receipt Error - Purchase is not suitable to be purchased.

@cagdaseksi
Copy link
Author

@andresesfm Hi, Can you help me with the above errors? There are multiple solutions, but I'm starting to doubt which one is correct.

@Depthol93
Copy link

Depthol93 commented Aug 29, 2024

Facing same Error when trying to purchase multiple Consumable in-app products with Android

There seems to be some native module code issue. Getting below error log.

{"code": "E_UNKNOWN", "debugMessage": "Server error, please try again.", "message": "An unknown or unexpected error has occurred. Please try again later.", "responseCode": 6}

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants