IPurchasesResponseListener

A callback interface that serves as a listener for the querying of purchases made with the [AptoideBillingSDKManager](https://docs.catappult.io/docs/aptoidebillingsdkmanager).


Public Methods

OnQueryPurchasesResponse

void OnQueryPurchasesResponse(BillingResult billingResult, Purchase[] purchases)

Invoked to notify the result of querying for purchases using the method QueryPurchasesAsync.

🚧

Purchases received in this listener must be consumed.

Failure to consume a purchase when receiving it in this method will result in a refund to the user after 48 hours. Check more about it in the SDK Unity Implementation Guide.

Parameters

NameTypeDescription
billingResultBillingResultBilling result of type BillingResult of the response received.
purchasesArray<Purchase>List containing the Purchases queried.