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

Purchase fails on iOS #76

Open
ciriousjoker opened this issue Oct 19, 2023 · 2 comments
Open

Purchase fails on iOS #76

ciriousjoker opened this issue Oct 19, 2023 · 2 comments

Comments

@ciriousjoker
Copy link
Contributor

PlatformException(400, The product id <our redacted, correct product id> provided doesnt match with any product in the receipt., Chargebee error, null)

The id in the error message is definitely correct and exists.

purchase sometimes fails for some users.We're using the flutter sdk:

The product id is definitely correct.
It currently affects a single user, who tried to purchase 7 times but it failed each time.

Perhaps the user picked a plan (say for 12 months) in the app & switched to a different plan in the purchase dialog? Then the receipt from Apple wouldn't match the expected product id.

@cb-haripriyan
Copy link
Contributor

Perhaps the user picked a plan (say for 12 months) in the app & switched to a different plan in the purchase dialog? Then the receipt from Apple wouldn't match the expected product id.

This might result in a similar error. However I am not sure if the user would be able to switch the products? Is this something you have observed?

Also is there any differentiation among these products?(Like are they all Subscriptions/InAppPurchases?)

@ciriousjoker
Copy link
Contributor Author

Switching the product in the purchase dialog isn't possible. I think I checked this at some point. The user can still switch through the Appstore later though.

All products are subscriptions, only differentiation is id, name, price and billing interval.

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