Help centre / Take payments
How to get your Stripe keys
Connect your Stripe account so customers can pay by card.
These are the same steps you see beside the settings in your shop's back office.
- Press Open Stripe: API keys and sign in. To test first, switch on Test mode (or the sandbox) at the top; switch it off for real payments.
- Copy the Publishable key (
pk_live_orpk_test_) into Publishable key below. - Next to Secret key, press Reveal, copy it (
sk_live_orsk_test_) and paste it into Secret key. - Press Open Stripe: webhooks, then Add endpoint (or Add destination). Endpoint URL:
the address shown on the Checkout page of your online store settings - Pick the events checkout.session.completed, checkout.session.async_payment_succeeded and checkout.session.async_payment_failed, then save. The last two matter for Pay by Bank, which a bank sometimes confirms a little later.
- Open the endpoint you made, press Reveal under Signing secret (
whsec_) and paste it into Webhook signing secret. - Tick Let customers pay with cards and press Save.
The webhook makes sure an order is saved even if a customer closes the page straight after paying.