Question

Manage refund of non consumable

  • 9 October 2021
  • 2 replies
  • 25 views

Badge

Hello,
for the first time I am trying the integration with revenuecat for one of my apps (flutter) present on both stores.
The goal is to remove advertising with one purchase only (non-consumable).
The purchase works, the recovery after an uninstall works, but I don't understand how to manage
a refund:  If the anonymous customer asks for a refund (or if I refund him), the purchase is always valid and isPro is always true.

PurchaserInfo restoredInfo =
                  await Purchases.restoreTransactions();
              if (restoredInfo.entitlements.all['all_features'] != null) {
                isPro = restoredInfo.entitlements.all["all_features"].isActive;

What am I doing wrong ?
Thanks in advance.
Enrico


2 replies

Userlevel 2
Badge +6

Hey @Enrico Tricarico ,

 

Happy to help here! Are you experiencing this issue on Android or IOS?

Badge

Hi Jazmine,

i tryed on Android device.

thank you

Reply