Skip to main content
Question

Flutter Callback for (WARN: User is already subscribed to this product. Ignoring)

  • Aug 31, 2024 1:52 PM UTC
  • 2 replies
  • 411 views

Forum|alt.badge.img+3

Is there a way to provide a callback in Flutter for the warning: 'WARN: User is already subscribed to this product. Ignoring.'? I tried using .onPurchaseError, but my callback was not triggered.

https://github.com/RevenueCat/purchases-flutter/blob/main/purchases_ui_flutter/lib/views/paywall_view.dart#L31

This post has been closed for comments

2 replies

joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • Sep 5, 2024 10:03 AM UTC

Hi @dev_rhenium ,

Does it get triggered on `onPurchaseCompleted` or it doesn’t get triggered anywhere?

 


Forum|alt.badge.img+3
  • Author
  • New Member
  • Sep 5, 2024 10:54 AM UTC

@joan-darona
no it does not get triggered anywhere, so neither in displayCloseButton, onPurchaseCompleted or onPurchaseError.