store

package
v1.49.38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasAccess added in v1.49.16

func HasAccess(db *datastore.Datastore, storeID string, at time.Time) (bool, string, error)

HasAccess is the single store entitlement rule. Each store needs its own current $20 plan subscription; an org-wide balance or another store's plan cannot unlock it.

func RequireAccess added in v1.49.16

func RequireAccess(c *zip.Ctx) error

RequireAccess protects merchant operations at the API boundary. Billing, store creation, trial activation, and access reads remain outside this gate.

func Route

func Route(router zip.Router, args ...zip.Handler)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL