Set Up Stripe Payment

Follow the steps below to connect your Stripe account and enable payments on your store.

Step 1

Open your Stripe API keys

In your Stripe Dashboard, go to Developers → Overview → API keys. Create one you don't have one yet.

  • Copy your Secret key
Step 2

Paste the key into your store admin

Step 3

Create a webhook endpoint in Stripe

In Stripe, open the Developer → Webhooks → Add destination.

  • API version: Select 2026-02-05 or a newest one
Step 4

Select the webhook events

Choose the events list belows. then Continue

Example events
  • payment_intent.succeeded
  • payment_intent.payment_failed
  • checkout.session.completed
Step 5

Copy your store webhook endpoint

  • Settings → General → Stripe → Copy
Step 6

Paste into the Stripe webhook endpoint

  • Paste
Step 7

Copy Stripe webhook endpoint's secret

  • Click Reveal
  • Copy the webhook endpoint's secret which you just created
Step 8

Paste into the your store Stripe webhook endpoint's secret

  • Paste
Final Check

Confirm your setup

Double-check that your API keys and webhook secret are all from the same Stripe mode. You can test your setup using Stripe’s test mode before going live. Stripe keeps test and live data completely separate, including keys and webhook secrets.

Important: Do not mix test keys with live webhook secrets, and never expose your secret key in frontend code.