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

OnPurchaseFailed never called in unity client #12

Closed
ab-rdarts opened this issue May 1, 2020 · 2 comments
Closed

OnPurchaseFailed never called in unity client #12

ab-rdarts opened this issue May 1, 2020 · 2 comments
Assignees

Comments

@ab-rdarts
Copy link
Contributor

It seems wrong product id used on during purchase failure. According to unity documentation it should be store specific id but right now library uses internal unity id. This cause why OnPurchaseFailed(Product product, PurchaseFailureReason failureReason) never called in IStoreListener

It must be

var productId = _productInPurchaseFlow.storeSpecificId;

@Qing451800
Copy link
Collaborator

I double checked the logic and you're right. Thanks for letting us know.

@Qing451800
Copy link
Collaborator

Thanks for reporting this. The fix, which includes your PR, has been published.

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