For the complete documentation index, see llms.txt. This page is also available as Markdown.

Deliverables

Run actions in your game when a customer completes checkout, no backend required.

We include a Deliverables helper to apply packages when the customer's basket is completed.

With a package ID or package reference, you can run an Action when a customer completes checkout. These are built into your game at compile-time.

Applying Deliverables

Use RegisterDeliverableAction() to register a callback Action when a particular package is purchased.

You may use a hardcoded package id, or a Package object returned by our API to register the actions.

The Deliverables helper tracks an ActiveBasket, checking every few seconds if it is complete. When complete, it will trigger the callback.

You can set the active basket programmatically with SetActiveBasket()

The basket will then be tracked and its registered Action triggered when completed. On completion, the active basket is cleared.

If you are using the In Game Cart, set the ApplyDeliverables property to true and the active basket will be tracked automatically.

Last updated