qonversion / unity-sdk

Unity SDK for cross-platform in-app purchase and subscription infrastructure, revenue analytics, engagement automation, and integrations
52 stars 5 forks source link

[Android] Purchase not acknowledged/consumed, if app is closed when deferred purchase completes #228

Closed WiseKodama closed 4 months ago

WiseKodama commented 4 months ago

Steps to reproduce:

Result:

Currently I was unable to find a way to manually acknowledge/consume a purchase via API. Since out of app purchases can happen on Android(preregistration, deferred) this should work out of the box...

OxanaGorya commented 4 months ago

Hello! Thank you! We'll look into it and I'll come back with updates.

OxanaGorya commented 4 months ago

@WiseKodama Hello! We fixed the bug in the latest version https://github.com/qonversion/unity-sdk/releases/tag/7.4.0. Please update and let me know if you still have the issue, or if you've already updated and the problem persists. Thank you!

WiseKodama commented 4 months ago

Thank you @OxanaGorya , will test this today and report back.

WiseKodama commented 4 months ago

Apologies for the late response. I have tested the flow and it is now working as expected. The purchase is no longer cancelled thus meaning it was consumed.

Thank you.