/
WebsiteSupport

DocsStripeStripe

Setting up Stripe

Set it up in test mode first where Stripe offers one, and switch to live when a test has worked. Allow an hour, plus any time that Stripe needs to approve your account.

2 min read

What you need first

  • A Stripe account (free to open at stripe.com). Stripe asks for your business details before it pays out real money; you can test before that.

Your keys and where to find them

FieldWhere it comes from
Secret keyIn the Stripe Dashboard, open Developers, then API keys. Turn on Test mode to see the test secret key (it starts with sk_test_), turn it off for the live one (sk_live_). Click Reveal and copy it.
Webhook signing secretIn the Stripe Dashboard, open Developers, then Webhooks, and add an endpoint. Paste the notification address shown on the connection page, choose the events checkout.session.completed, checkout.session.async_payment_succeeded, checkout.session.async_payment_failed, checkout.session.expired, and save. Then click Reveal under Signing secret (it starts with whsec_). Do this once in Test mode and once in live mode.
Stripe reader IDFor a card reader at the till: in the Stripe Dashboard open Terminal, then Readers, and copy the ID of your reader (it starts with tmr_). In Test mode a simulated reader works without hardware.
The product carries its own help page for Stripe, with these steps beside the Add button.
The product carries its own help page for Stripe, with these steps beside the Add button.

Set it up

  1. Open SettingsIntegrations and choose the tab Add an integration.
  2. Find Stripe and click Add. Give the connection a name you will recognise, for example the name of your shop, and click Add.
  3. The connection page opens. Under Test, paste the test keys from your Stripe account and click Save test credentials.
  4. Switch the state to Test and click Test connection. A green sentence means Stripe accepted the keys.
  5. If Stripe asks for a notification address, copy the one shown under Notifications into your Stripe account (the table above says where).
  6. Try it with a test payment or a test order. When everything is right, enter the live keys under Live and click Go live.

Test and live

Every connection keeps two sets of keys: one for Test and one for Live. You can fill both at any time; the state decides which one is used.

In Test, Stripe takes no real money: customers see a test payment page and you pay with the test cards or test numbers Stripe gives you. A TEST badge shows on the connection and on the payment provider.

Go live asks you to confirm. From then on the connection uses the live keys and everything it does is real. You can switch back to Test or to Inactive at any time; nothing is deleted.

See also