docs(payments): PayPal beside Patreon, our own checkout later (#28)
Updates the payments plan with PayPal and the decisions since #26. **docs/payments.md** - **PayPal (new section):** sold exactly as priced, $1.99 a month or $19.99 a year per room, as one subscription with a room count. - **Setup:** the product, plans and webhook are made through PayPal's API, and their IDs go in the config. The sandbox ones exist already. - **Checkout:** a redirect. The subscription carries the account (`custom_id` = the person's `sub`) and the VAT override. - **Webhook:** verified by PayPal's own `verify-webhook-signature`; the subscription is then fetched again from PayPal, plus a nightly sync. A status table says what each PayPal state grants. - **Tax:** - **EU VAT:** non-Union OSS, with VAT included in the price. Each sale records two pieces of country evidence (the buyer's choice and their IP's country); if they disagree, no sale. The service makes the quarterly report itself. - **UK:** handled once registered with HMRC. - **US:** state thresholds, with sales reported per state. - **Where it sells first:** outside the EU and the UK until those registrations take effect. - **No website of its own:** the app's pages use the API. The browser only passes through `/link/patreon`, `/checkout/paypal` and `/manage/<source>`, which return only to listed addresses. - **Checkout elements (later):** our own checkout as iframes from `payments.t5de.dev`, so the processor doesn't show and Patreon can go. - **Environments:** staging uses PayPal's sandbox and the locked staging hub. Patreon has no test mode, so both of its redirect URIs are listed. - Goals, the processors table, lapses, phases (Patreon, then PayPal, then elements) and "before taking money" updated to match. **docs/music.md:** the paid tier lists both ways to pay, plus the later checkout. Updates the payments plan with PayPal and the decisions since #26. **docs/payments.md** - **PayPal (new section):** sold exactly as priced, $1.99 a month or $19.99 a year per room, as one subscription with a room count. - **Setup:** the product, plans and webhook are made through PayPal's API, and their IDs go in the config. The sandbox ones exist already. - **Checkout:** a redirect. The subscription carries the account (`custom_id` = the person's `sub`) and the VAT override. - **Webhook:** verified by PayPal's own `verify-webhook-signature`; the subscription is then fetched again from PayPal, plus a nightly sync. A status table says what each PayPal state grants. - **Tax:** - **EU VAT:** non-Union OSS, with VAT included in the price. Each sale records two pieces of country evidence (the buyer's choice and their IP's country); if they disagree, no sale. The service makes the quarterly report itself. - **UK:** handled once registered with HMRC. - **US:** state thresholds, with sales reported per state. - **Where it sells first:** outside the EU and the UK until those registrations take effect. - **No website of its own:** the app's pages use the API. The browser only passes through `/link/patreon`, `/checkout/paypal` and `/manage/<source>`, which return only to listed addresses. - **Checkout elements (later):** our own checkout as iframes from `payments.t5de.dev`, so the processor doesn't show and Patreon can go. - **Environments:** staging uses PayPal's sandbox and the locked staging hub. Patreon has no test mode, so both of its redirect URIs are listed. - Goals, the processors table, lapses, phases (Patreon, then PayPal, then elements) and "before taking money" updated to match. **docs/music.md:** the paid tier lists both ways to pay, plus the later checkout. Co-authored-by: dhkatz <[email protected]>
This commit was merged in pull request #28.
This commit is contained in:
1 parent
f3cc3f9f17
commit
a6337f09b6
2 files changed
+136
-31
No files matched your search
+13
-6
@@ -263,9 +263,9 @@ both tiers, free with limits:
|
||||
same in both tiers (**Decided**), so nothing about YouTube is for sale.
|
||||
- **The free tier is the trial**: people use it, want better audio or more listeners, and upgrade.
|
||||
|
||||
| | Free | Paid (Patreon: $1.99 a month for 1 room, $4.99 for 3) |
|
||||
| | Free | Paid ($1.99 a month per room with PayPal; Patreon: $1.99 for 1 room, $4.99 for 3) |
|
||||
| --- | --- | --- |
|
||||
| Rooms | 1 | 1 or 3, by tier, on top of the free one |
|
||||
| Rooms | 1 | As many as paid for, on top of the free one |
|
||||
| Stations and own streams | Yes (direct where possible, so they cost nothing) | Yes |
|
||||
| YouTube search and queue | Fair-use limits: queue length, songs an hour, the longest song | The same |
|
||||
| Audio | 64 kbps | 128 kbps |
|
||||
@@ -280,10 +280,17 @@ once there's usage to look at.
|
||||
|
||||
IMVU credits aren't a way to pay (**Decided**, docs/payments.md).
|
||||
|
||||
**Paying** (**Decided**: Patreon first, docs/payments.md): a Patreon membership, linked to the person's account on
|
||||
payments.t5de.dev. A Patreon member has one tier, so tiers are room bundles: "Room" ($1.99 a month, 1 room) and
|
||||
"Rooms" ($4.99, 3 rooms); the most popular community bot starts at $4.99 for one room. After Patreon's 10% and
|
||||
processing, $1.99 is about $1.59. Yearly memberships at a discount once Patreon turns them on for the page.
|
||||
**Paying** (**Decided**, docs/payments.md), from Music's Upgrade page; the payments service only redirects:
|
||||
|
||||
- **PayPal**: $1.99 a month or $19.99 a year per room, one subscription for any number of rooms. Outside the EU and
|
||||
the UK at first (VAT, docs/payments.md).
|
||||
- **Patreon**, linked to the person's account: a member has one tier, so tiers are room bundles, "Room" ($1.99 a
|
||||
month, 1 room) and "Rooms" ($4.99, 3 rooms). After Patreon's 10% and processing, $1.99 is about $1.59. Yearly
|
||||
memberships at a discount once Patreon turns them on for the page.
|
||||
- Later, our own checkout embedded in the page, whichever processor is behind it (docs/payments.md, Checkout
|
||||
elements).
|
||||
|
||||
The most popular community bot starts at $4.99 for one room.
|
||||
|
||||
The paid entitlement is `music.rooms`, a count (docs/payments.md, Concepts). The owner picks which of their rooms are
|
||||
paid on the room's page, up to the count. If the count drops (a lapse, a smaller tier), the most recently picked
|
||||
|
||||
Reference in new issue
Block a user