Skip to content

web-account-subscriptions

The subscriptions part of My account (stage 48), for the web: the subscriptions the signed-in customer pays, each with its state in words, the price per period and the next charge or when it ends, and what they can do: cancel at the period’s end, keep a cancelled one going, confirm a payment that waits for them. One part for every pack’s section (Memberships, Courses): a section passes only for its plans and, where its pack offers it, change for a change of plan. The card is the Payment method section’s (web-account-payment), once for every subscription. Every action is the host’s operation on the customer’s own subscription (subscription.*): the host refuses what does not apply, and the subscription changes once the provider confirms. Web only: the app shows a subscription and opens the website for the rest (ADR 0714).

Skin web
Pack the base layer
Add it cos add web-account-subscriptions
Files subscriptions.tsx, LICENSE
Depends on ui-button, ui-card
Packages @composable-os/client

Through its hooks; the host decides what each caller may do.

Source: blocks/web-account-subscriptions.