Package 

Interface OpenIapSubscriptionBillingIssueListener


  • 
    public interface OpenIapSubscriptionBillingIssueListener
    
                        

    Listener for subscription billing-issue events. Fires once per session per purchaseToken when a suspended subscription is observed (payment method failed, card expired, etc.). This includes subscriptions that are already suspended when the app starts.

    • Play flavor: populated via Purchase.isSuspended (Billing Library 8.1+).

    • Horizon flavor: NEVER invoked. The Horizon Billing Compatibility SDK implements the Play Billing 7.0 API surface which lacks a suspended-subscription signal.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onSubscriptionBillingIssue(Purchase purchase) Called when a subscription enters a billing-issue state
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onSubscriptionBillingIssue

         abstract Unit onSubscriptionBillingIssue(Purchase purchase)

        Called when a subscription enters a billing-issue state

        Parameters:
        purchase - The affected purchase with isSuspended == true