Android
Consume Purchase
In this step, finalize the purchase and award the player. This step occurs after the onPurchaseSuccess trigger, allowing you to validate the purchase and complete the process.
The consumePurchase
receives two arguments:
Argument | Description |
---|---|
customerId | The customer ID who initiate the purchase |
orderId | The orderId to consume |
publisherTransactionId | Represents a unique metadata for the consume process |
Note: Publishers may also send publisherTransactionId for extra data if available. This field is not mandatory and may stay empty.