13 Purchase progress
| (require commerce/purchase-progress) | package: commerce |
Server processes explicitly require commerce/purchase-progress. Products may read an authenticated purchase progress snapshot; it is status reporting and never authorization.
procedure
(current-purchase-progress storage #:provider provider #:order-id order-id #:product-id product #:offer-id offer #:subject-id subject #:authorize authorize) → (or/c hash? #f) storage : commerce-storage? provider : string? order-id : string? product : string? offer : string? subject : string? authorize : procedure?
Returns the redacted progress status for one order after the caller’s own
authorization check; authorization is a product decision, not a Commerce
one. A paid flag here never authorizes a feature.