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

Adding onPurchaseFailed callback, Fixing onProductPurchased not called immediately. #155

Merged
merged 2 commits into from
Jan 12, 2024

Conversation

a7madKaddour
Copy link
Contributor

I have added onPurchaseFailed callback, which will be triggered when the purchase is failed, as currently there is no way to know if the user did exit the payment flow or not, for showing a progress bar indicates that the payment is still in progress for example.
Additionally, I have fixed this issue #45 , which was making the library unusable.

@a7madKaddour a7madKaddour changed the title Improvements Adding onPurchaseFailed callback, Fixing onProductPurchased not called immediately. Jan 11, 2024
Copy link
Owner

@akshaaatt akshaaatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this fix! 💯

@akshaaatt akshaaatt merged commit cfa998a into akshaaatt:main Jan 12, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants