Replying to Avatar Blake

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)

Avatar
Blake 2y ago

And I’d like to keep working on this idea. Enable Nostr App in-built subscript management too.

https://gist.github.com/blakejakopovic/a0deee4c945c122a59ed2dcf442d2e2a

Reply to this note

Please Login to reply.

Discussion

No replies yet.