docs/codebase/stripe-flows.md
Ghost has a Stripe Connect integration. The client ID is part of the Ghost codebase, allowing any Ghost instance served over HTTPS to start the OAuth flow.
stripe.ghost.org after authorization.stripe.ghost.org exchanges the authorization code and returns a
base64-encoded payload containing s, p, a, l, n, and i. The a
value is Stripe's OAuth access_token, not the account's secret key.s, then maps and stores the connection
settings.This flow is implemented in
services/members/stripe-connect.js.
The checkout and tier price flows are implemented by
payments-service.js.