onInitialized trigger, as this allows you to validate the purchase and complete the process. You can also decide where and when to trigger this method based on your needs..
| Argument | Description |
|---|---|
customerId | Represents the customer identification |
strings, with each string representing a different order ID. These IDs correspond to completed purchases that are awaiting consumption. You can then initiate a “Purchase Consume” for any order as needed.