Interface PendingPurchaseCallback
- All Superinterfaces:
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
Methods inherited from interface PurchaseCallback
itemPurchased, itemPurchaseError, itemRefunded, paymentFailed, paymentSucceeded, subscriptionCanceled, subscriptionStartedModifier and TypeMethodDescriptionvoiditemPurchased(String sku) Indicates a the given SKU was purchased by a user.voiditemPurchaseError(String sku, String errorMessage) Callback indicating a the given SKU purchase failedvoiditemRefunded(String sku) Invoked if a refund was granted for a purchasevoidpaymentFailed(String paymentCode, String failureReason) Indicates that a manual payment has failedvoidpaymentSucceeded(String paymentCode, double amount, String currency) Indicates that a manual payment has passedvoidInvoked when a subscription SKU is canceledvoidInvoked when a subscription SKU is started
-
Method Details
-
itemPurchasePending
-