Skip to main content
Browse docs

Connect Stripe payments to an application

Connect Stripe with one-click setup or an existing account, let 1904 create the webhook and prices, and check the connection before taking real payments.

On this page

When your app takes payments, a Stripe section appears at the top of the app's Settings > Configuration. Only the owner can connect or disconnect Stripe.

The badge next to the heading tells you where you are: setup needed, finishing setup, ready for test payments or ready for live payments, or disconnected if a working connection was removed.

Choose how to connect

You have two options:

  • One-click setup (recommended) creates a new Stripe account linked to your app, and 1904 keeps its keys up to date for you.
  • Use an existing Stripe account lets you paste keys from an account you already manage.

One-click setup

  1. Select One-click setup (recommended).
  2. Under What will this app charge people for?, describe it in a few words, such as "monthly access to a meal-planning app".
  3. Under Does any of this apply to what you sell?, tick anything that applies, or leave them all unticked. Some categories ask you to confirm you hold the licences they need. Some can't be sold at all.
  4. Read the notes, tick the box to agree to the Service Terms, and select Continue to Stripe.
  5. Finish Stripe's own steps, then return to 1904. You'll see "Stripe is connected. We've filled in everything your app needs."

On a development app this uses Stripe's test mode, takes seconds, and needs no bank details. No real money moves.

Use an existing Stripe account

  1. Select Use an existing Stripe account.
  2. Paste the keys the app asks for from your Stripe dashboard and save them.
  3. Select Finish the rest for me. 1904 creates the webhook endpoint your app needs, plus any prices listed under the button, inside your own Stripe account.

Check every amount before you run this on a production app, because those are real prices. If 1904 can't tell what to charge for a price, it lists that value for you to fill in yourself.

Check the connection

When connected, the section shows your Stripe account ID and the address Stripe sends payment updates to. Use:

  • Check status to refresh what Stripe reports.
  • Re-run Stripe setup to recreate anything missing.
  • Disconnect Stripe only when you mean it: the app stops taking payments straight away.

Restart the app if 1904 asks you to, then make a test purchase before you take real payments.

Test and live payments

A development app uses test payments and a production app uses live ones, each with its own keys. Connect Stripe on the production app separately when you are ready to take real money. See Create your production app.

Warning: Rotating or revoking keys inside Stripe, or deleting the webhook there, can stop your app from taking payments. Use Check status afterwards.