docs(web-checkout): document Stripe discount codes - #254
Draft
claude[bot] wants to merge 1 commit into
Draft
Conversation
Add a Discount Codes page covering the web checkout promotion-code flow: Stripe coupon/promotion-code prerequisite, adding a text input bound to a state variable, redeeming with the Redeem Discount tap action, showing the discounted price, and where the code applies across web checkout flows. Also list Redeem Discount in the paywall editor Purchases tap-action reference and register the new page in the Web Checkout nav.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
superwall-docs | 3e866e7 | Commit Preview URL Branch Preview URL |
Aug 05 2026, 08:57 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Christo Todorov · Slack thread
Documents the customer-entered discount / promotion code feature for Stripe web checkout.
What changed
content/docs/web-checkout/web-checkout-discount-codes.mdxand registers it incontent/docs/web-checkout/meta.json(Getting Started, after Stripe one-time purchases). It covers: what discount codes do for web checkout, the Stripe coupon + promotion-code prerequisite, setup in the paywall editor (a text Input bound to a state variable + a button running the Redeem Discount tap action, pointed at{{ state.discountCode }}or a fixed literal), showing the discounted price with the discount display variables, and a note that the code applies across web checkout flows with deferred Apple Pay as the exception.content/docs/dashboard/dashboard-creating-paywalls/paywall-editor-styling-elements.mdx), cross-linking to the new page.Before / After
Coordination
Exposing the Redeem Discount action in the editor for Stripe paywalls depends on a companion code PR in
superwall/paywall-next(the editor gate) that is not yet merged. This docs PR should land alongside that editor change so the documented action is actually available to customers. Kept as a draft until then.Generated by Claude Code