I have a problem with refunds of my purchases. I query all past purchases when I start the app and check whether a InAppProduct was purchased or not.
final QueryPurchaseDetailsResponse purchaseResponse =
await _connection.queryPastPurchases();
Now a purchase was refunded, but the purchase is still queried via the queryPastPurchases() method. Also the PurchaseDetails class does not have any information about the purchase being refunded.
Any idea how to handle this case ?
Information :
Regards
Request a refund for recent purchases If it's been less than 48 hours since you bought an app or made an in-app purchase: You can request a refund through Google Play. If you bought music, movies, books, or other content: You may be able to request a refund more than 48 hours after your purchase (check policy below).
Flutter in_app_purchase (IAP) is a first-party Flutter package that allows developers to implement in-app purchases in their app from the App Store on iOS or Google Play on Android.
It took me some time and some hints on github. The problem was that i was refunding the purchase but not revoking it. If you click on the refund button it opens a modal. In the modal there is a checkbox for revoking. Click the checkbox before submitting the refund!
Once the refund was made and you forgot to revoke it, it is not possible to revoke it afterwards.
In this case you have the following options :
contact the support
revoke it via api ( only possible if the api access was activated before the refund.).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With