Skip to main content
Based on the response message of the OnPurchaseComplete, provide the orderId the execute Consume Purchase as follow:

Code Example

The ConsumePurchase receives two arguments: Note: Publishers may also send transactionSessionId for extra data if available. This field is not mandatory and may stay empty.