Skip to content
Oct 28, 2026 6 min read

With Stripe, your store charges by card and with the other methods you turn on in your Stripe account (Bizum, Apple Pay, Google Pay, Klarna, SEPA Direct Debit…). You need a Stripe account. There are three things to do: paste the keys, add the webhook and register the domain.

1. The keys

  1. In the panel, open Payment methods and in Select Method choose Stripe.
  2. In Stripe, open API keys. Stripe has two modes with different keys: test (a sandbox), with keys starting with pk_test_ and sk_test_, and live, with pk_live_ and sk_live_. You switch between them on that same page.
  3. Copy the publishable key (pk_…, it is not secret) and paste it in Client key: the test one in “Client key (test)” and the live one in “Client key”.
  4. Copy the secret key (sk_…) and paste it in Secret key, the same way: test with test and live with live. In live mode Stripe only shows you the secret key once, when you create it (Create secret key): copy it then. A restricted key (rk_…) is also accepted.
  5. Leave Environment on Development, save and make a test purchase with the card 4242 4242 4242 4242, any future date and any CVC.
  6. When it works, paste the live keys too, switch Environment to Production and save.

The panel does not show secret keys again once saved: the field comes back empty, with a note that one is stored. To keep it, leave it empty.

Where the customer pays

In the Stripe section, Where the customer pays has two options:

  • On the payment page of the gateway (recommended), the one set by default: the customer clicks the Pay button with the amount (for example, “Pay €25.00”), pays on Stripe’s secure page and comes back to your store. There they see the products, photos and quantities of their order, and Stripe handles card security (3-D Secure) and the payment methods. Discounts, the coupon and whatever they pay with their balance show up together as one discount: in your Stripe account you will see a single-use coupon for each order with a discount.
  • Card form on your shop page: the customer pays without leaving your store, with Stripe’s form inside the payment screen.

Either way the same amount is charged and the order is closed the same way. You can change it whenever you like; save and make another test purchase.

2. The webhook

Without a webhook, an order is only closed if the buyer comes back to your store after paying. With it, Stripe tells your store about every payment, refund or dispute. The Stripe section of the panel shows your store’s address (it ends with your site number): that is the one to paste in Stripe, and it is different for every store.

  1. In Stripe, open Webhooks (a tab in Workbench) and click Create an event destination.
  2. Choose Your account.
  3. For the payload style choose Snapshot, not “Thin”, which is the one Stripe marks as recommended: your store reads the full event. With Snapshot, Stripe also asks for the API version: the one it shows by default will do.
  4. Select these events: payment_intent.succeeded, charge.refunded, charge.dispute.created and charge.dispute.closed.
  5. Click Continue, choose Webhook endpoint as the destination type, click Continue and paste the address shown in the panel into Endpoint URL. Save.
  6. On the webhook’s page click Reveal secret and copy the signing secret (it starts with whsec_).
  7. Paste it in the panel: in Webhook signing secret (test) if you created it in test mode, or in Webhook signing secret if you created it in live mode. Each mode has its own webhook and its own secret: repeat these steps in the other mode when you start charging for real.

With the secret in place, your store checks that every notification comes from Stripe; without it, the panel warns you that it will stop accepting them.

3. The domain, for Apple Pay and Google Pay

You only need this step if you choose the card form on your shop page: on Stripe’s page, Apple Pay and Google Pay show up without registering anything. Apple Pay and Google Pay only show up on the domains you register in Stripe. Without the registration they do not appear, and nothing tells you why. Stripe asks you to register every domain and subdomain where people pay.

  1. Think of the address your buyer sees when paying: yourstore.edeck.me (“yourstore” being your site’s name) or, if you have one, your own domain. If your store can be seen at more than one address (with and without www), register each one.
  2. In Stripe, open Settings › Payment method domains.
  3. Click Add a new domain, type the address without https:// (for example yourstore.edeck.me) and click Save and continue.
  4. The address shows up in the list of domains. To remove it, use Disable in its row’s menu.

Stripe handles Apple’s validation for you: you do not need to create anything with Apple. If you register the domain in live mode, it is also registered in the test environment; do it in live mode before you start charging for real.

Bizum, Apple Pay, Google Pay, Klarna and SEPA

Your store’s payment screen offers the methods you have turned on in Stripe, not just cards. Turn them on in Stripe’s Settings › Payment methods: they are separate lists in test mode and live mode. Each buyer only sees the ones they can use: Bizum for payments in euros (and, if you want, as its own “Bizum” option: choose Stripe in Charge Bizum with, in the Bizum block), Apple Pay in Safari with a saved card, Google Pay in Chrome. With Klarna the buyer pays later or in instalments and you get the full amount through Stripe; it is only offered this way, inside Stripe. SEPA Direct Debit takes a few days to be collected: the order is closed when Stripe collects it, and for that you need the webhook from step 2.

When something does not work as expected, the Event deliveries tab of the webhook in Stripe shows which notifications reached your store and with what result.

Can’t find it? Write to us at soporte@edeck.me and tell us which screen and which site. We reply within one working day.

← Back to the help center

Was this guide helpful?

No website yet? We will propose one on edeck.me: 30 days free with a card, from €4.99/month.