Probably not yet, will definitely improve over time.
Discussion
Not sure if this rough draft is useful. It’s what I was thinking in general.
Invoices
amount_sat
created_at
paid_at
web_session_id (linked to cookies?) expires_at plan_id
offer_id
external_invoice_id
external_shop_id
(Does invoice payment trigger a subscription update?)
subscriptions (MAX: one per identity id?)
identity_id expires_at
plan_id
(latest_paid_invoice_id?)
Offers
Name
Description
Period
amount_sats
plan_id
expired_at (no longer available)
Plans
Name
Description
(Basically feature sets)
And I’d like to keep working on this idea. Enable Nostr App in-built subscript management too.
https://gist.github.com/blakejakopovic/a0deee4c945c122a59ed2dcf442d2e2a
Looks good but not the type of subscription i was talking about haha