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

PurchaseError return canceled if item already owned #236

Closed
JohnGaby opened this issue Aug 10, 2019 · 1 comment · Fixed by #282
Closed

PurchaseError return canceled if item already owned #236

JohnGaby opened this issue Aug 10, 2019 · 1 comment · Fixed by #282

Comments

@JohnGaby
Copy link

When I attempt to purchase an item on Android that is already owned, the purchase dialog tells me it is already owned (which is correct), however the exception that is thrown tells me that the transaction was UserCancelled.

Note that this is when using test purchases. I cannot say what the behavior would be during a real purchase but I assume it would be the same.

Bug Information

Version Number of Plugin: 2.0.0
Device Tested On: 8/9/2019
Tested On: Samsung S5
Version of VS: 2017
Version of Xamarin: 4.12.3.83
Versions of other things you are using:

Steps to reproduce the Behavior

Attempt to purchase a product that you already own.

Expected Behavior

InAppBillingPurchaseException thrown with PurchaseError set to AlreadyOwned

Actual Behavior

InAppBillingPurchaseException thrown with PurchaseError set to UserCancelled

Code snippet

Screenshotst

@ant81584
Copy link

This issue also persists on iOS as well

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

Successfully merging a pull request may close this issue.

3 participants