D
Module

Digital Store

Overview of the Digital Store module that handles digital product sales and delivery.

  • DigitalStoreService.php spans 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.
  • PreviewDigitalStore issues a one-off token used to preview an unpublished store configuration before going live.
  • DigitalProductService delegates 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.