EmilAlipiev / XFInAppBilling

MIT License
12 stars 3 forks source link

How to verify/acknowledge purchases for android billing 3.0? #14

Closed naumanmunir closed 3 years ago

EmilAlipiev commented 3 years ago

Library handles it for you on PurchaseResult if acknowledgement will fail, you can call GetPurchases function to re-try to acknowledge each pending purchase with IsAcknowledge=false.

EmilAlipiev commented 3 years ago

just closing this because if you check the documentation and OnPurchasesUpdated function in Android.cs, package is doing exactly how it is suggested in the android documentation. After a purchase completed, each purchase is verified with purchase.IsAcknowledged (NotifyFullFillmentAsync function), if it is false, it sends an acknowledge request. if you any problem or further question, please let me know.