Digital delivery and gift cards

Digital delivery pages show protected entitlements owned by the signed-in customer. Use the public digital-delivery view and download action. Do not expose a storage URL or build an unauthenticated download link.

Use themeRuntimeProps.digitalDeliveryRoot and the approved button action to connect theme markup. The platform enforces entitlement ownership, expiry and remaining-download limits.

Gift-card helpers prepare the code and display state and support copying through the approved runtime action. Gift-card purchase metadata must use the public product helpers rather than a theme-only checkout path.

Test missing entitlement, expired delivery, zero remaining downloads, successful and rejected download, empty gift-card code, copy success and copy failure. Protected values must not be placed in analytics events or browser storage.