Docs / Payments (Stripe)
Forge is built with paid communities in mind. That is why it has first-party support for Stripe.
To set up Stripe you need to provide the Stripe API key and Signing Secret in
the credentials:
bash
stripe:
api_key: api-key
signing_secret: signing_secret
Then add the details for your memberships (products in your Stripe dashboard) to
config/configurations/memberships.yml
.
Finallt make sure Stripe knows where to send the checkout.session.completed
webhook to, e.g.: https://example.com/webhooks/stripe
.
The flow of new members getting access to your community is as follows:
- user clicks provided Stripe Payment Link and pays;
- on completion, a webhook is send to your webhook endpoint;
- this invites an User record (with the given email) in your database;
- an invite email is sent with an unique invite link to complete sign up.
If anything is unclear or if you need any help, feel free to reach out.