Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
516 changes: 516 additions & 0 deletions docs/articles/monetization/going-to-production.mdx

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/articles/monetization/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,6 @@ pricing, wire up Stripe, and configure your gateway to enforce quotas.
| [Subscription Lifecycle](./monetization/subscription-lifecycle.md) | Managing trials, upgrades, downgrades, and cancellations |
| [Private Plans](./monetization/private-plans.md) | Invite-only plans for specific users |
| [Tax Collection](./monetization/tax-collection.md) | Enabling VAT, sales tax, or GST via Stripe Tax |
| [Going to Production](./monetization/going-to-production.mdx) | Pre-launch checklist, Stripe live mode, and beta considerations |
| [Plan Examples](./monetization/plan-examples.mdx) | Real-world plan configurations |
| [Troubleshooting](./monetization/troubleshooting.md) | Common issues, debugging, and FAQ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions public/media/monetization-going-to-production/metering-flow.d2
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
...@zuplo-theme.d2

vars: {
d2-config: {
layout-engine: elk
pad: 20
}
}

direction: right

client: "API request" {
class: node
style.font-size: 26
}

platform: "Zuplo platform (metering, plans, subscriptions)" {
class: group
style.font-size: 18

policy: "MonetizationInboundPolicy" {
class: zuplo
style.font-size: 26
}
aggregate: "Aggregate & price" {
class: node
style.font-size: 26
}
policy -> aggregate: "meter event" { style.font-size: 18 }
}

stripe: "Stripe (money only)" {
class: group
style.font-size: 18

invoice: "Invoice" {
class: node
style.font-size: 26
}
customer: "Customer charged" {
class: success
style.font-size: 26
}
invoice -> customer: "collect" { style.font-size: 18 }
}

(** -> **)[*].class: flow

client -> platform.policy: "request" { style.font-size: 18 }
platform.aggregate -> stripe.invoice: "end of billing period" { style.font-size: 18 }
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ export const documentation: Navigation = [
"articles/monetization/subscription-lifecycle",
"articles/monetization/private-plans",
"articles/monetization/tax-collection",
"articles/monetization/going-to-production",
],
},
{
Expand Down
Loading