Appbricx
Features

Build

  • Coding agents and MCP
  • Verify testing
  • Builder console

Data

  • Postgres database
  • Data API
  • Realtime

Users

  • Row-level security
  • Sign-in and auth
  • Payments

Logic

  • Workflows and jobs
  • AI in your app
  • Integrations

Ship and own

  • Backups and rollback
  • Hosting and domains
  • Self-host and export
All features
ShowcaseTemplatesPricingDocs
Log inStart free
  • Features
  • Showcase
  • Templates
  • Pricing
  • Docs
  • Log in

Build

  • Coding agents and MCP
  • Verify testing
  • Builder console

Data

  • Postgres database
  • Data API
  • Realtime

Users

  • Row-level security
  • Sign-in and auth
  • Payments

Logic

  • Workflows and jobs
  • AI in your app
  • Integrations

Ship and own

  • Backups and rollback
  • Hosting and domains
  • Self-host and export
  1. Home
  2. Templates
  3. Stripe payment received

Workflow · Payments and billing

Stripe payment received

A Stripe-signed webhook records each paid Checkout session in a stripe_payment table, once (Stripe's event id and the session id both guard against repeats). Every new payment notifies your staff and emails the payer a short receipt. A Payments page for staff lists them, with a Check Stripe now button as a fallback that pulls recent sessions with your secret key (it never reaches the browser).

Use in AppbricxFree. Already have an account? Log in
View the files

use_template { slug: "stripe-payment-received" } adds

Tables
stripe_payment
Components
StripePayments
Pages
/stripe-payments
Workflows
stripe-checkout-events, stripe-sync-payments, stripe-payment-received

What it adds to your app

Table stripe_payment (one row per paid Checkout session). A Stripe-signed webhook that records each paid session. Server function stripe-sync-payments (the manual fallback). Workflow: notify staff and email a receipt on each new payment. A Payments page for staff.

Tables

  • stripe_payment session_id, amount, currency, email, payer_name, description, paid_at

Pages

  • /stripe-payments Payments (‹staff_role›)

Workflows

  • stripe-checkout-events Record each paid Stripe Checkout session. On webhook stripe-checkout-events
  • stripe-sync-payments Check Stripe for paid Checkout sessions (fallback). On server function (‹staff_role›)
  • stripe-payment-received Tell staff and email a receipt for each new payment. On stripe_payment created

Components

  • StripePayments Staff payments list, filled by Stripe's webhook, with a Check Stripe now fallback

Where it attaches

Params point the template at your own tables and roles. Leave out the ones with defaults; a wrong one is refused with the options your app has.

ParamWhat it isExample
staff_roleThe staff role that sees the Payments page, can check Stripe and is told about new payments. Optional.admin

Use with your coding agent

  1. Connect the Appbricx MCP server to Claude Code, Cursor or any MCP client (quickstart).
  2. Paste the prompt. The agent reads the template, previews the merge with dry_run and shows you the diff.
  3. It applies to dev. Check it, then deploy when you are happy.

Needs the STRIPE_WEBHOOK_SECRET secret, the STRIPE_SECRET_KEY secret. A Stripe webhook endpoint at the URL get_contract lists for stripe-checkout-events (Backend, API in the builder), sending checkout.session.completed, with its signing secret in STRIPE_WEBHOOK_SECRET.

Prompt
Add the Stripe payment received template (slug "stripe-payment-received") to my Appbricx project. Read it with get_template, run use_template with dry_run first and show me the diff, then apply it. Ask me where it attaches if you can't tell from my contract (staff_role: who manages payments).
MCP call
{
  "tool": "use_template",
  "arguments": {
    "slug": "stripe-payment-received",
    "project_id": "<your project id>",
    "params": {
      "staff_role": "admin"
    },
    "dry_run": true
  }
}
CLI
appbricx templates use stripe-payment-received --param staff_role=admin --dry-run

Goes well with

  • Stripe subscriptions

    Block. Monthly or yearly plans paid through Stripe Checkout, with a billing page and Stripe's own billing settings.

    plansubscriptionBillingPanelsubscription-checkoutstripe-subscription-events
  • One-off payments

    Block. Take a card payment for any record (a booking, an order, an invoice) through Stripe Checkout, confirmed by the server.

    paymentPayableListMyPaymentspayment-checkoutstripe-payment-events
  • Welcome email

    Workflow. Emails every new person a short, friendly welcome the moment they sign up.

    welcome-email

Your agent adds it. Appbricx runs it.

Start freeAll templates
Appbricx

The backend, runtime and hosting for apps your coding agent builds. On our cloud, in yours, or on your own servers.

Features

Coding agents and MCPVerify testingBuilder consolePostgres databaseData APIRealtimeRow-level securitySign-in and authPaymentsWorkflows and jobsAI in your appIntegrationsBackups and rollbackHosting and domainsSelf-host and exportAll features

Product

ShowcaseTemplatesPricingFor coding agentsPrivate cloudBring your own AI keyFAQ

Compare

Appbricx vs SupabaseLovable alternativeBolt alternativeFor freelancersFor agencies

Resources

DocumentationReferenceBlogSupportContact

© 2026 Appbricx. All rights reserved.

TermsPrivacyCookiesAcceptable Use