Based on the response message of the OnPurchaseComplete
, provide the orderId the execute Consume Purchase as follow:
Code Example
CheckoutController.ConsumePurchase(String customerId, String orderId, Session transactionSessionId);
The ConsumePurchase
receives two arguments:
Argument | Description |
---|---|
customerId | Represents the customer identification |
orderId | Represents the orderId we want to consume |
publisherTransactionId | Represents a unique metadata for the consume process |
Note: Publishers may also send transactionSessionId for extra data if available. This field is not mandatory and may stay empty.