Skip to content

Instantly share code, notes, and snippets.

View temich's full-sized avatar

Artem Gurtovoi temich

  • Dubai
  • 05:37 (UTC +04:00)
View GitHub Profile
@temich
temich / stripe.md
Created June 2, 2026 21:03
Stripe integration

Stripe Web Subscriptions Integration

Mirror the proven appstore.* design with parallel stripe.* components. Web client redirects to Stripe Checkout; Stripe webhooks drive accounts.premium through the same sync mechanism Apple uses.

Target flow

flowchart LR
  Web -->|"POST /stripe/checkout/:identity"| SC["stripe.checkout (Stripe gateway)"]
  SC -->|"create session"| StripeAPI["Stripe API"]

Assumptions

Entities and relationships:

  • Kitchen: id, title
  • Spoon: id, title, kitchen_id

JS SDK

@temich
temich / config.txt
Created December 7, 2022 13:03
Once Migration Settings
https://google.com