Android acknowledgePurchaseAndroid
Acknowledge a non-consumable purchase or subscription. Required within 3 days or the purchase will be refunded.
Wraps BillingClient.acknowledgePurchase(AcknowledgePurchaseParams) — required for non-consumables and subscriptions within 3 days, otherwise Google auto-refunds. See the Google Play Billing reference.
Signature
kt
suspend fun acknowledgePurchase(purchaseToken: String): BooleanParameters#
purchaseToken(required,string) — Purchase token from the Play Billing transaction.
Returns#
Promise<boolean> — true once the purchase has been acknowledged.
Example
kt
openIapStore.acknowledgePurchase(purchase.purchaseToken)Note: Called automatically by finishTransaction() when isConsumable is false.
See: finishTransaction