# Interface PendingPurchaseCallback

All Superinterfaces:
  `PurchaseCallback`

public interface PendingPurchaseCallback extends PurchaseCallback

Callback interface that the main class may implement to be notified of pending purchases. Pending purchases are purchases that have been completed, and a payment callback from the native platform has been received, but the state of the purchase is "pending". This occurs if the user has opted to pay with cash, for example on Android. When the payment is completed, the app will call the `PurchaseCallback#itemPurchased(String)` callback.

Currently only supported on Android.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `itemPurchasePending(String sku)`

  ### Methods inherited from interface PurchaseCallback

  `itemPurchased, itemPurchaseError, itemRefunded, paymentFailed, paymentSucceeded, subscriptionCanceled, subscriptionStarted`
  Modifier and Type
  Method
  Description
  `void`
  `itemPurchased(String sku)`
  Indicates a the given SKU was purchased by a user.
  `void`
  `itemPurchaseError(String sku, String errorMessage)`
  Callback indicating a the given SKU purchase failed
  `void`
  `itemRefunded(String sku)`
  Invoked if a refund was granted for a purchase
  `void`
  `paymentFailed(String paymentCode, String failureReason)`
  Indicates that a manual payment has failed
  `void`
  `paymentSucceeded(String paymentCode, double amount, String currency)`
  Indicates that a manual payment has passed
  `void`
  `subscriptionCanceled(String sku)`
  Invoked when a subscription SKU is canceled
  `void`
  `subscriptionStarted(String sku)`
  Invoked when a subscription SKU is started

- ## Method Details

  - ### itemPurchasePending

    void itemPurchasePending(String sku)