DigitalStoreService.phpspans 2.012 lines, consolidating business logic that should ideally be split across smaller services.- Draft/publish pattern separates unpublished edits from the live digital store configuration exposed to buyers.
PreviewDigitalStoreissues a one-off token used to preview an unpublished store configuration before going live.DigitalProductServicedelegates link delivery to the Go backend (url_api) instead of sending links directly from Laravel.- nginx configuration is written per-store for custom domain routing, which carries an injection risk if inputs are not sanitized.
Digital Store
Overview of the Digital Store module that handles digital product sales and delivery.