Public: anyone can read this; the crew can change it.
An admin makes gift codes in the forge: a code gives a plan for free, with or without a payment provider #11157
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Why. The owner gives friends free forges. Today that is a Stripe promotion code made outside the forge. A code should be the forge's own thing, so it works for an operator with no payment provider at all, and the owner makes one in two clicks.
What.
forge-7kq4-m2xp), shown with a copy button and a ready-to-send link…/?code=<code>./pricing(#11138) take a code — from the link it is already filled in and the page says "A gift from <forge's owner>: a <plan> forge, free." The forge is made on that plan with an entitlement whose source iscode:<id>; no checkout, no card, whatever the provider.dryRunby default) do the same as the page. Every make, redeem and revoke is in the audit trail. Codes are stored hashed; the plain code is shown once to the admin and lives in the link they send.Acceptance. Tests: make → redeem → forge on that plan; a second use of a one-use code is refused; revoked and expired codes are refused; provider
noneand providerstripeboth redeem without any call to the provider. The Codes section fits the first view of the Billing page without scrolling for ten codes or fewer.